diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-24 14:54:22 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-24 14:54:22 -0400 |
| commit | ed8b8901c067f0d378f973622f5f6d560d21e914 (patch) | |
| tree | 5386490c8accd338836fc8764181ea2bb3f8df1f /stdlib/optionals.c | |
| parent | 800e386105255c9c4faa9a7051b100a8768a70de (diff) | |
Add '$' prefix on all user code
Diffstat (limited to 'stdlib/optionals.c')
| -rw-r--r-- | stdlib/optionals.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/optionals.c b/stdlib/optionals.c index e21be507..1dc770a7 100644 --- a/stdlib/optionals.c +++ b/stdlib/optionals.c @@ -36,7 +36,7 @@ public PUREFUNC bool is_null(const void *obj, const TypeInfo *non_optional_type) return ((OptionalInt8_t*)obj)->is_null; else if (non_optional_type == &Byte$info) return ((OptionalByte_t*)obj)->is_null; - else if (non_optional_type == &Thread) + else if (non_optional_type == &Thread$info) return *(pthread_t**)obj == NULL; switch (non_optional_type->tag) { |
