From 5b2acc934ee1cda4a514b617a56b43fc4ddf6a0f Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 11 Oct 2025 14:21:35 -0400 Subject: Added Empty() struct --- src/stdlib/structs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/stdlib/structs.h') 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 \ { \ -- cgit v1.2.3