aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/structs.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-23 19:28:08 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-23 19:28:08 -0400
commitfcda36561d668f43bac91ea31cd55cbbd605d330 (patch)
treeeb74c0b17df584af0fd8154422ad924e04c96cc2 /src/stdlib/structs.h
parent414b0c7472c87c5a013029aefef49e2dbc41e700 (diff)
Autoformat everything with clang-format
Diffstat (limited to 'src/stdlib/structs.h')
-rw-r--r--src/stdlib/structs.h38
1 files changed, 20 insertions, 18 deletions
diff --git a/src/stdlib/structs.h b/src/stdlib/structs.h
index c9c6c40a..03c051ec 100644
--- a/src/stdlib/structs.h
+++ b/src/stdlib/structs.h
@@ -17,24 +17,26 @@ 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);
-#define Struct$metamethods { \
- .hash=Struct$hash, \
- .compare=Struct$compare, \
- .equal=Struct$equal, \
- .as_text=Struct$as_text, \
- .is_none=Struct$is_none, \
- .serialize=Struct$serialize, \
- .deserialize=Struct$deserialize, \
-}
+#define Struct$metamethods \
+ { \
+ .hash = Struct$hash, \
+ .compare = Struct$compare, \
+ .equal = Struct$equal, \
+ .as_text = Struct$as_text, \
+ .is_none = Struct$is_none, \
+ .serialize = Struct$serialize, \
+ .deserialize = Struct$deserialize, \
+ }
-#define PackedData$metamethods { \
- .hash=PackedData$hash, \
- .compare=Struct$compare, \
- .equal=PackedData$equal, \
- .as_text=Struct$as_text, \
- .is_none=Struct$is_none, \
- .serialize=Struct$serialize, \
- .deserialize=Struct$deserialize, \
-}
+#define PackedData$metamethods \
+ { \
+ .hash = PackedData$hash, \
+ .compare = Struct$compare, \
+ .equal = PackedData$equal, \
+ .as_text = Struct$as_text, \
+ .is_none = Struct$is_none, \
+ .serialize = Struct$serialize, \
+ .deserialize = Struct$deserialize, \
+ }
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0