diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-05 15:31:54 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-05 15:31:54 -0400 |
| commit | 04c8fb0362dc4f922c1e96ca01fb87a3e8e74214 (patch) | |
| tree | a5a65a625a9b697ac6875874b9b4c04abd3d0a65 /builtins/types.c | |
| parent | 391c1b6bde0d5fd6f306f9613109e18ec487afe7 (diff) | |
Replace $Type with Type$info for builtin TypeInfos
Diffstat (limited to 'builtins/types.c')
| -rw-r--r-- | builtins/types.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/builtins/types.c b/builtins/types.c index c34882f0..6d9e2408 100644 --- a/builtins/types.c +++ b/builtins/types.c @@ -25,15 +25,15 @@ public Text_t Type$as_text(const void *typeinfo, bool colorize, const TypeInfo * return Text$from_str(type->TypeInfoInfo.type_str); } -public const TypeInfo $TypeInfo = { +public const TypeInfo TypeInfo$info = { .size=sizeof(TypeInfo), .align=__alignof__(TypeInfo), .tag=CustomInfo, .TypeInfoInfo.type_str="TypeInfo", }; -public const TypeInfo $Void = {.size=0, .align=0, .tag=EmptyStruct}; -public const TypeInfo $Abort = {.size=0, .align=0, .tag=EmptyStruct}; +public const TypeInfo Void$info = {.size=0, .align=0, .tag=EmptyStruct}; +public const TypeInfo Abort$info = {.size=0, .align=0, .tag=EmptyStruct}; public Text_t Func$as_text(const void *fn, bool colorize, const TypeInfo *type) { |
