aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/optionals.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-16 15:26:29 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-16 15:26:29 -0400
commit849fd423a759edf1b58b548a6148c177a6f8cd71 (patch)
tree022f4ec014991f31e731f9e4574c2b32d8f5456d /src/stdlib/optionals.h
parent0363b260689068b146357a8caf021590705e615d (diff)
Fix further issue with optionals
Diffstat (limited to 'src/stdlib/optionals.h')
-rw-r--r--src/stdlib/optionals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdlib/optionals.h b/src/stdlib/optionals.h
index 2ffd5a50..5be52e93 100644
--- a/src/stdlib/optionals.h
+++ b/src/stdlib/optionals.h
@@ -18,7 +18,7 @@
#define NONE_TEXT ((OptionalText_t){.length=-1})
#define NONE_PATH ((Path_t){.type=PATH_NONE})
-PUREFUNC bool is_null(const void *obj, const TypeInfo_t *non_optional_type);
+PUREFUNC bool is_none(const void *obj, const TypeInfo_t *non_optional_type);
PUREFUNC uint64_t Optional$hash(const void *obj, const TypeInfo_t *type);
PUREFUNC int32_t Optional$compare(const void *x, const void *y, const TypeInfo_t *type);
PUREFUNC bool Optional$equal(const void *x, const void *y, const TypeInfo_t *type);