summaryrefslogtreecommitdiff
path: root/doc/ref/data-rep.texi
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2003-08-29 23:32:21 +0000
committerKevin Ryde <user42@zip.com.au>2003-08-29 23:32:21 +0000
commitd3d0c186e00d80458ca5df3e770ab3c13c466d9b (patch)
treeb6a8ead5e3d8288c8dd1beffdd47ed7f863853e3 /doc/ref/data-rep.texi
parentbd35f1f07c5e00f2798f7e05cb8d4d4be08f7f52 (diff)
downloadguile-d3d0c186e00d80458ca5df3e770ab3c13c466d9b.tar.gz
(Remembering During Operations): Note
scm_remember_upto_here_1 applies only to C automatic variables.
Diffstat (limited to 'doc/ref/data-rep.texi')
-rw-r--r--doc/ref/data-rep.texi7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/ref/data-rep.texi b/doc/ref/data-rep.texi
index ba2011a52..daa22b303 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.13 2003-06-21 23:02:58 kryde Exp $
+@c essay @subtitle $Id: data-rep.texi,v 1.14 2003-08-29 23:32:21 kryde Exp $
@c essay @subtitle For use with Guile @value{VERSION}
@c essay @author Jim Blandy
@c essay @author Free Software Foundation
@@ -1918,6 +1918,11 @@ while code is still using it.
Create a reference to the given object or objects, so they're certain
to be present on the stack or in a register and hence will not be
freed by the garbage collector before this point.
+
+Note that these functions can only be applied to ordinary C local
+variables (ie.@: ``automatics''). Objects held in global or static
+variables or some malloced block or the like cannot be protected with
+this mechanism.
@end deftypefn
For example, consider a procedure to convert image data to a list of