summaryrefslogtreecommitdiff
path: root/libguile/procs.h
diff options
context:
space:
mode:
Diffstat (limited to 'libguile/procs.h')
-rw-r--r--libguile/procs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libguile/procs.h b/libguile/procs.h
index a843525a4..3e332f0ab 100644
--- a/libguile/procs.h
+++ b/libguile/procs.h
@@ -62,6 +62,7 @@ typedef struct
SCM *generic; /* 0 if no generic support
* *generic == 0 until first method
*/
+ SCM properties; /* procedure properties */
} scm_subr_entry;
#define SCM_SUBRNUM(subr) (SCM_CELL_WORD_0 (subr) >> 8)
@@ -72,6 +73,7 @@ typedef struct
#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_SUBR_PROPS(x) (SCM_SUBR_ENTRY (x).properties)
#define SCM_SUBR_GENERIC(x) (SCM_SUBR_ENTRY (x).generic)
#define SCM_CCLO_LENGTH(x) (SCM_CELL_WORD_0 (x) >> 8)
@@ -188,7 +190,6 @@ extern SCM scm_make_cclo (SCM proc, SCM len);
#if (SCM_DEBUG_DEPRECATED == 0)
-#define SCM_SUBR_PROPS(x) SCM_EOL
#define SCM_SUBR_DOC(x) SCM_BOOL_F
#endif /* SCM_DEBUG_DEPRECATED == 0 */