From f4e38fd061a158ecb94881273c6db6e6a332f61d Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 17 Aug 2025 20:35:09 -0400 Subject: =?UTF-8?q?Switch=20from=20using=20dollar=20signs=20as=20namespace?= =?UTF-8?q?=20delimiters=20to=20using=20=E3=80=85,=20=E3=83=BD,=20and=20?= =?UTF-8?q?=E3=80=87.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stdlib/structs.h | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'src/stdlib/structs.h') 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 -- cgit v1.2.3