guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] 01/01: Fix uses of 'scm_gc_protect', which does not exis


From: Mark H. Weaver
Subject: [Guile-commits] 01/01: Fix uses of 'scm_gc_protect', which does not exist, in the manual.
Date: Wed, 02 Sep 2015 17:56:45 +0000

mhw pushed a commit to branch stable-2.0
in repository guile.

commit 4c5788d1ab14550afd86117e96f91164fbe04a72
Author: Mark H Weaver <address@hidden>
Date:   Wed Sep 2 13:51:05 2015 -0400

    Fix uses of 'scm_gc_protect', which does not exist, in the manual.
    
    * doc/ref/api-memory.texi (Garbage Collection Functions),
      doc/ref/libguile-concepts.texi (Garbage Collection): Change
      'scm_gc_protect' --> 'scm_gc_protect_object'.
---
 doc/ref/api-memory.texi        |    4 ++--
 doc/ref/libguile-concepts.texi |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/ref/api-memory.texi b/doc/ref/api-memory.texi
index 099d806..f6a4498 100644
--- a/doc/ref/api-memory.texi
+++ b/doc/ref/api-memory.texi
@@ -1,6 +1,6 @@
 @c -*-texinfo-*-
 @c This is part of the GNU Guile Reference Manual.
address@hidden Copyright (C)  1996, 1997, 2000, 2001, 2002, 2003, 2004, 2009, 
2010, 2012, 2014
address@hidden Copyright (C)  1996, 1997, 2000-2004, 2009, 2010, 2012, 2014, 
2015
 @c   Free Software Foundation, Inc.
 @c See the file guile.texi for copying conditions.
 
@@ -36,7 +36,7 @@ explicitly.  It is called automatically when appropriate.
 Protects @var{obj} from being freed by the garbage collector, when it
 otherwise might be.  When you are done with the object, call
 @code{scm_gc_unprotect_object} on the object. Calls to
address@hidden/@code{scm_gc_unprotect_object} can be nested, and
address@hidden/@code{scm_gc_unprotect_object} can be nested, and
 the object remains protected until it has been unprotected as many times
 as it was protected. It is an error to unprotect an object more times
 than it has been protected. Returns the SCM object it was passed.
diff --git a/doc/ref/libguile-concepts.texi b/doc/ref/libguile-concepts.texi
index ea2bdbe..1892ee3 100644
--- a/doc/ref/libguile-concepts.texi
+++ b/doc/ref/libguile-concepts.texi
@@ -1,6 +1,6 @@
 @c -*-texinfo-*-
 @c This is part of the GNU Guile Reference Manual.
address@hidden Copyright (C)  1996, 1997, 2000, 2001, 2002, 2003, 2004, 2005, 
2010, 2013, 2014
address@hidden Copyright (C)  1996, 1997, 2000-2005, 2010, 2013, 2014, 2015
 @c   Free Software Foundation, Inc.
 @c See the file guile.texi for copying conditions.
 
@@ -197,7 +197,7 @@ sections, function arguments or local variables on the C 
and Scheme
 stacks, and values in machine registers.  Other references to @code{SCM}
 objects, such as those in other random data structures in the C heap
 that contain fields of type @code{SCM}, can be made visible to the
-garbage collector by calling the functions @code{scm_gc_protect} or
+garbage collector by calling the functions @code{scm_gc_protect_object} or
 @code{scm_permanent_object}.  Collectively, these values form the ``root
 set'' of garbage collection; any value on the heap that is referenced
 directly or indirectly by a member of the root set is preserved, and all



reply via email to

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