diff options
Diffstat (limited to 'lib.h')
-rw-r--r-- | lib.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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 |