summaryrefslogtreecommitdiff
path: root/uscript/val.h
diff options
context:
space:
mode:
Diffstat (limited to 'uscript/val.h')
-rw-r--r--uscript/val.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/uscript/val.h b/uscript/val.h
index 3c579af..0ab1876 100644
--- a/uscript/val.h
+++ b/uscript/val.h
@@ -6,7 +6,7 @@
#define create_num(n) ((struct us_val){.type=VAL_NUM, .dat={.number=(n)}})
#define create_bool(b) ((struct us_val){.type=VAL_BOOL, .dat={.boolean=(b)}})
-#define create_zilch() ((struct us_val){.type=VAL_ZILCH, .dat={.number=0}})
+#define create_nada() ((struct us_val){.type=VAL_NADA, .dat={.number=0}})
#define wrap_str(o) ((struct us_val){.type=VAL_STR, .dat={.str=(o)}})
#define wrap_arr(o) ((struct us_val){.type=VAL_ARR, .dat={.arr=(o)}})
#define wrap_map(o) ((struct us_val){.type=VAL_MAP, .dat={.map=(o)}})
@@ -37,7 +37,7 @@
enum val_type {
VAL_NUM,
VAL_BOOL,
- VAL_ZILCH,
+ VAL_NADA,
// Do not place any new object types before VAL_STR. Object types are
// detected by doing a comparison with VAL_STR. See val_is_obj().
VAL_STR,