aboutsummaryrefslogtreecommitdiff
path: root/stdlib/optionals.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-03-15 14:22:11 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-03-15 14:22:11 -0400
commitf51acef40e8297d7bd41b774413aa8331ca946ed (patch)
tree56aa02541d60beb3ece496fed2c11afd3ae942f3 /stdlib/optionals.h
parent7a2653501310825e02d99d51fb4b9f1aacc75214 (diff)
Overhaul of Path so it uses root and array of components instead of
stringly typed
Diffstat (limited to 'stdlib/optionals.h')
-rw-r--r--stdlib/optionals.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stdlib/optionals.h b/stdlib/optionals.h
index 4e6bf7e0..4b368b1e 100644
--- a/stdlib/optionals.h
+++ b/stdlib/optionals.h
@@ -23,6 +23,7 @@
#define NONE_CLOSURE ((OptionalClosure_t){.fn=NULL})
#define NONE_TEXT ((OptionalText_t){.length=-1})
#define NONE_MOMENT ((OptionalMoment_t){.tv_usec=-1})
+#define NONE_PATH ((Path_t){.root=PATH_NONE})
PUREFUNC bool is_null(const void *obj, const TypeInfo_t *non_optional_type);
PUREFUNC uint64_t Optional$hash(const void *obj, const TypeInfo_t *type);