summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib.h')
-rw-r--r--lib.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib.h b/lib.h
index dfc73e98..6c5b17ef 100644
--- a/lib.h
+++ b/lib.h
@@ -67,7 +67,7 @@ typedef double_uintptr_t dbl_ucnum;
typedef enum type {
NIL = TAG_PTR, NUM = TAG_NUM, CHR = TAG_CHR, LIT = TAG_LIT, CONS,
STR, SYM, PKG, FUN, VEC, LCONS, LSTR, COBJ, CPTR, ENV,
- BGNUM, FLNUM, RNG, BUF, TNOD, MAXTYPE = TNOD
+ BGNUM, FLNUM, RNG, BUF, TNOD, DARG, MAXTYPE = TNOD
/* If extending, check TYPE_SHIFT and all ocurrences of MAX_TYPE */
} type_t;
@@ -243,6 +243,13 @@ struct cobj {
val cls;
};
+struct dyn_args {
+ obj_common;
+ val car;
+ val cdr;
+ struct args *args;
+};
+
struct strm_ctx;
struct cobj_ops {
@@ -327,6 +334,7 @@ union obj {
struct range rn;
struct buf b;
struct tnod tn;
+ struct dyn_args a;
};
#if CONFIG_GEN_GC