HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
322a2bf
)
(smob mark function): List admissible functions
author
Marius Vollmer
<mvo@zagadka.de>
Tue, 19 Oct 2004 13:55:06 +0000
(13:55 +0000)
committer
Marius Vollmer
<mvo@zagadka.de>
Tue, 19 Oct 2004 13:55:06 +0000
(13:55 +0000)
to call.
doc/ref/api-smobs.texi
patch
|
blob
|
blame
|
history
diff --git
a/doc/ref/api-smobs.texi
b/doc/ref/api-smobs.texi
index
08236d8
..
df000d8
100644
(file)
--- a/
doc/ref/api-smobs.texi
+++ b/
doc/ref/api-smobs.texi
@@
-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))