aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/optionals.h
diff options
context:
space:
mode:
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);