guile-devel
[Top][All Lists]
Advanced

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

Re: SCM_STRING_CHARS is deprecated. See the manual for alternatives.


From: Kevin Ryde
Subject: Re: SCM_STRING_CHARS is deprecated. See the manual for alternatives.
Date: Fri, 11 Aug 2006 10:30:56 +1000
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Bruce Korb <address@hidden> writes:
>
>   There are also a few magic values stuffed into memory before a
> symbol's characters, but you don't want to know about those.  What
> cruft!

That para sounds a bit unnecessary, doesn't it :).

>   Note that `SCM_VECTOR_BASE', `SCM_STRING_CHARS' and
> `SCM_SYMBOL_CHARS' return pointers to data within the respective
> object.  Care must be taken that the object is not garbage collected
> while that data is still being accessed.  This is the same as for a
> smob, *Note Remembering During Operations::.

Not sure if that's true any more either.  Is the "remembering"
protection enough now?




reply via email to

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