|
From: | Gerd Möllmann |
Subject: | Re: Q about staticvec declaration |
Date: | Wed, 27 Mar 2024 14:03:14 +0100 |
User-agent: | Mozilla Thunderbird |
On 27.03.24 13:54, Mattias Engdegård wrote:
27 mars 2024 kl. 13.15 skrev Gerd Möllmann <gerd.moellmann@gmail.com>:What I meant to ask is why are the Lisp_Objects considered const when viewed through staticvec.Oh, I see. No idea, but it's not obvious that all static roots are free game for a moving GC (for example, there could be other references that expect the static roots to remain unchanged for all I know).
Yes, that's what I'm trying to understand, if there is something that depends on that. Without success, so far.
But it could also be a mistake, of course. Something like "const *" where "* const" was meant. Who knows...
[Prev in Thread] | Current Thread | [Next in Thread] |