(smob mark function): List admissible functions
authorMarius Vollmer <mvo@zagadka.de>
Tue, 19 Oct 2004 13:55:06 +0000 (13:55 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Tue, 19 Oct 2004 13:55:06 +0000 (13:55 +0000)
to call.

doc/ref/api-smobs.texi

index 08236d8..df000d8 100644 (file)
@@ -43,6 +43,10 @@ instance @var{obj}.  One of these @code{SCM} values can be returned
 from the procedure and Guile will call @code{scm_gc_mark} for it.
 This can be used to avoid deep recursions for smob instances that form
 a list.
+
+It must not call any libguile function or macro except
+@code{scm_gc_mark}, @code{SCM_SMOB_FLAGS}, @code{SCM_SMOB_DATA},
+@code{SCM_SMOB_DATA_2}, and @code{SCM_SMOB_DATA_3}.
 @end deftypefn
 
 @deftypefn {C Function} void scm_set_smob_free (scm_t_bits tc, size_t (*free) (SCM obj))