1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-24 12:20:20 +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

@ -72,6 +72,7 @@ typedef struct
#define SCM_SUBR_ENTRY(x) (scm_subr_table[SCM_SUBRNUM (x)])
#define SCM_SNAME(x) (SCM_SUBR_ENTRY (x).name)
#define SCM_SUBRF(x) ((SCM (*)()) SCM_CELL_WORD_1 (x))
#define SCM_SET_SUBRF(x, v) (SCM_SET_CELL_WORD_1 ((x), (v)))
#define SCM_DSUBRF(x) ((double (*)()) SCM_CELL_WORD_1 (x))
#define SCM_CCLO_SUBR(x) (SCM_VELTS(x)[0])