mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-16 16:50:21 +02:00
* Re-introduces the unused member "documentation" of struct scm_subr_entry.
This commit is contained in:
parent
c275ccf59e
commit
23a62df4fe
5 changed files with 19 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue