aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/structs.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-10-11 14:21:35 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-10-11 14:21:35 -0400
commit5b2acc934ee1cda4a514b617a56b43fc4ddf6a0f (patch)
treefeb31009ea5e8433694b11dfe9c9c59969bcdfcc /src/stdlib/structs.h
parentc74fba540448f1d4b1aec4de8f3d9ffc395fdde0 (diff)
Added Empty() struct
Diffstat (limited to 'src/stdlib/structs.h')
-rw-r--r--src/stdlib/structs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stdlib/structs.h b/src/stdlib/structs.h
index a582e9fb..83904377 100644
--- a/src/stdlib/structs.h
+++ b/src/stdlib/structs.h
@@ -15,6 +15,8 @@ PUREFUNC bool PackedData$equal(const void *x, const void *y, const TypeInfo_t *t
PUREFUNC Text_t Struct$as_text(const void *obj, bool colorize, 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);
+extern const TypeInfo_t Empty$$info;
+extern const Empty$$type EMPTY;
#define Struct$metamethods \
{ \