diff options
Diffstat (limited to 'val.h')
-rw-r--r-- | val.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -36,10 +36,12 @@ const char *typename_str(Val v); bool is_truthy(Val v); bool val_equal(Val a, Val b); +// ValTy or ObjTy +int val_type(Val v); typedef enum { - OTY_STRING, + OTY_STRING = 100, OTY_FUNC, OTY_ARR, } ObjTy; |