aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/structs.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-10-05 17:52:33 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-10-05 17:52:33 -0400
commit398d2cab6988e20c59e7037ff7ef551540339abb (patch)
tree8c5154cfcd32d0664fd40ac8fa93f50f6434859a /src/stdlib/structs.h
parent9b5b6b110bb80f8530dd7ca4e0cc9eb3236d8ad7 (diff)
Fix a bunch of issues with optional types
Diffstat (limited to 'src/stdlib/structs.h')
-rw-r--r--src/stdlib/structs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/stdlib/structs.h b/src/stdlib/structs.h
index 368a670a..a582e9fb 100644
--- a/src/stdlib/structs.h
+++ b/src/stdlib/structs.h
@@ -13,7 +13,6 @@ PUREFUNC int32_t Struct$compare(const void *x, const void *y, const TypeInfo_t *
PUREFUNC bool Struct$equal(const void *x, const void *y, const TypeInfo_t *type);
PUREFUNC bool PackedData$equal(const void *x, const void *y, const TypeInfo_t *type);
PUREFUNC Text_t Struct$as_text(const void *obj, bool colorize, const TypeInfo_t *type);
-PUREFUNC bool Struct$is_none(const void *obj, const TypeInfo_t *type);
void Struct$serialize(const void *obj, FILE *out, Table_t *pointers, const TypeInfo_t *type);
void Struct$deserialize(FILE *in, void *outval, List_t *pointers, const TypeInfo_t *type);
@@ -23,7 +22,6 @@ void Struct$deserialize(FILE *in, void *outval, List_t *pointers, const TypeInfo
.compare = Struct$compare, \
.equal = Struct$equal, \
.as_text = Struct$as_text, \
- .is_none = Struct$is_none, \
.serialize = Struct$serialize, \
.deserialize = Struct$deserialize, \
}
@@ -34,7 +32,6 @@ void Struct$deserialize(FILE *in, void *outval, List_t *pointers, const TypeInfo
.compare = Struct$compare, \
.equal = PackedData$equal, \
.as_text = Struct$as_text, \
- .is_none = Struct$is_none, \
.serialize = Struct$serialize, \
.deserialize = Struct$deserialize, \
}