From d1f967ffb4dc099a34f54434be10a58eb33b81f7 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 30 Jul 2025 14:37:53 -0400 Subject: Struct reordering to improve packing --- src/stdlib/types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/stdlib/types.h') diff --git a/src/stdlib/types.h b/src/stdlib/types.h index 7d61a524..03b397b7 100644 --- a/src/stdlib/types.h +++ b/src/stdlib/types.h @@ -65,14 +65,14 @@ struct TypeInfo_s { } OptionalInfo; struct { const char *name; - int num_tags; NamedType_t *tags; + int num_tags; } EnumInfo; struct { const char *name; + NamedType_t *fields; int num_fields; bool is_secret:1, is_opaque:1; - NamedType_t *fields; } StructInfo; }; }; -- cgit v1.2.3