From cf4e2dabf48fc42bbd4c8df7dd6f19e05903954c Mon Sep 17 00:00:00 2001 From: Kevin Ryde Date: Fri, 13 Jun 2003 23:32:33 +0000 Subject: [PATCH] (Vector Data): For SCM_VECTOR_BASE, SCM_STRING_CHARS and SCM_SYMBOL_CHARS, cross reference "Remembering During Operations". --- doc/ref/data-rep.texi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/ref/data-rep.texi b/doc/ref/data-rep.texi index b7f99961e..1a377ab86 100644 --- a/doc/ref/data-rep.texi +++ b/doc/ref/data-rep.texi @@ -46,7 +46,7 @@ @c essay @sp 10 @c essay @comment The title is printed in a large font. @c essay @title Data Representation in Guile -@c essay @subtitle $Id: data-rep.texi,v 1.11 2003-06-11 23:07:53 kryde Exp $ +@c essay @subtitle $Id: data-rep.texi,v 1.12 2003-06-13 23:32:33 kryde Exp $ @c essay @subtitle For use with Guile @value{VERSION} @c essay @author Jim Blandy @c essay @author Free Software Foundation @@ -875,6 +875,12 @@ if @var{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 @code{SCM_VECTOR_BASE}, @code{SCM_STRING_CHARS} and +@code{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, @xref{Remembering During Operations}. + @node Procedures @subsubsection Procedures