summaryrefslogtreecommitdiff
path: root/libguile/procs.c
diff options
context:
space:
mode:
authorDirk Herrmann <dirk@dirk-herrmanns-seiten.de>2000-12-28 15:09:56 +0000
committerDirk Herrmann <dirk@dirk-herrmanns-seiten.de>2000-12-28 15:09:56 +0000
commit23a62df4fea25cfaa41382f283aa8b2411d7015b (patch)
treeef8d983adfb2368c39bc403a6890e01d2183cfca /libguile/procs.c
parentc275ccf59e31d76edf35385e62d6b82c0da2543d (diff)
downloadguile-23a62df4fea25cfaa41382f283aa8b2411d7015b.tar.gz
* Re-introduces the unused member "documentation" of struct scm_subr_entry.
Diffstat (limited to 'libguile/procs.c')
-rw-r--r--libguile/procs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libguile/procs.c b/libguile/procs.c
index a79c7d79c..d1279a21a 100644
--- a/libguile/procs.c
+++ b/libguile/procs.c
@@ -102,6 +102,7 @@ scm_make_subr_opt (const char *name, int type, SCM (*fcn) (), int set)
scm_subr_table[entry].handle = z;
scm_subr_table[entry].name = symbol;
scm_subr_table[entry].generic = 0;
+ scm_subr_table[entry].properties = SCM_EOL;
SCM_SET_SUBRF (z, fcn);
SCM_SET_CELL_TYPE (z, (entry << 8) + type);
@@ -148,6 +149,8 @@ scm_mark_subr_table ()
SCM_SETGCMARK (scm_subr_table[i].name);
if (scm_subr_table[i].generic && *scm_subr_table[i].generic)
scm_gc_mark (*scm_subr_table[i].generic);
+ if (SCM_NIMP (scm_subr_table[i].properties))
+ scm_gc_mark (scm_subr_table[i].properties);
}
}