Hi,

Um.  I did.  This is all I find:

-- Macro: char * SCM_STRING_CHARS (SCM X)
-- Macro: char * SCM_SYMBOL_CHARS (SCM X)
    Return a pointer to the characters of X.  The result is undefined
    if X is not a symbol or string, respectively.

  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!

  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::.

==================================

* SCM_STRING_CHARS:                      Vector Data.         (line  36)



_______________________________________________
Guile-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/guile-devel

Reply via email to