emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MPS image cache


From: Gerd Möllmann
Subject: Re: MPS image cache
Date: Sat, 04 May 2024 19:51:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Helmut Eller <eller.helmut@gmail.com> writes:

>>> There is a bit of an issue with proper initialization of the structs
>>> pointed to by those roots.  E.g. x_term_init uses xzalloc, puts pointers
>>> into the struct, and only then stores the pointer to the struct in
>>> x_display_list.  So what should be the root, the struct (registred
>>> immediately after the call to xzalloc) or the global variable
>>> x_display_list?
>>
>> Hm.
>
> For my case, the troublesome field was xi_device_t.name.  I decided to
> make x_display_info and xi_device_t amigous roots, because there is
> usually only one x_display_info and dozen of xi_device_t.

Pushed. Sorry for the delay I somehow overlooked your patch.

(And the amigos are the reason I write "ambig" :-).)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]