Update doc of `scm_gc_protect_object ()' and SMOB mark/free.
authorLudovic Courtès <ludo@gnu.org>
Wed, 9 Sep 2009 17:14:04 +0000 (19:14 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 9 Sep 2009 17:14:04 +0000 (19:14 +0200)
commitf07c349eb38d6c7b160b8980fc4007fb502e3433
tree710496cd7cfc9ff47b5f7d6640c75e5014dbb20e
parent56273dea4bc44b798f6b661e4fca953437f512f7
Update doc of `scm_gc_protect_object ()' and SMOB mark/free.

* doc/ref/api-memory.texi (Garbage Collection
  Functions)[scm_gc_protect_object]: Explain that it's equivalent to
  storing in a global variable.

* doc/ref/api-smobs.texi (Smobs)[scm_set_smob_free]: Expand on the
  relationship with `scm_gc_malloc ()'.
  [scm_set_smob_mark]: Explain that it's usually not needed.
doc/ref/api-memory.texi
doc/ref/api-smobs.texi