1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-17 17:20:29 +02:00

* Don't assign to SCM_SUBRF, use new SCM_SET_SUBRF macro instead.

This commit is contained in:
Dirk Herrmann 2000-06-05 12:54:40 +00:00
parent 4b479d9818
commit 2d9cdf4e81
3 changed files with 10 additions and 1 deletions

View file

@ -95,7 +95,7 @@ scm_make_subr_opt (const char *name, int type, SCM (*fcn) (), int set)
scm_subr_table[entry].properties = SCM_EOL;
scm_subr_table[entry].documentation = SCM_BOOL_F;
SCM_SUBRF (z) = fcn;
SCM_SET_SUBRF (z, fcn);
SCM_SET_CELL_TYPE (z, (entry << 8) + type);
scm_subr_table_size++;