aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/structs.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-17 20:35:09 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-17 20:35:09 -0400
commitf4e38fd061a158ecb94881273c6db6e6a332f61d (patch)
tree9179cb312dcc1b24d806dfb65694c25580d1ed8b /src/stdlib/structs.h
parent602cedd03b0c3d6ef176efafb08f51bde9bfe543 (diff)
Switch from using dollar signs as namespace delimiters to using 々, ヽ, andunicode-identifiers
〇.
Diffstat (limited to 'src/stdlib/structs.h')
-rw-r--r--src/stdlib/structs.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/src/stdlib/structs.h b/src/stdlib/structs.h
index c9c6c40a..c04df1fc 100644
--- a/src/stdlib/structs.h
+++ b/src/stdlib/structs.h
@@ -7,34 +7,34 @@
#include "types.h"
#include "util.h"
-PUREFUNC uint64_t Struct$hash(const void *obj, const TypeInfo_t *type);
-PUREFUNC uint64_t PackedData$hash(const void *obj, const TypeInfo_t *type);
-PUREFUNC int32_t Struct$compare(const void *x, const void *y, const TypeInfo_t *type);
-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);
+PUREFUNC uint64_t Structヽhash(const void *obj, const TypeInfo_t *type);
+PUREFUNC uint64_t PackedDataヽhash(const void *obj, const TypeInfo_t *type);
+PUREFUNC int32_t Structヽcompare(const void *x, const void *y, const TypeInfo_t *type);
+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);
-#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