diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-03-29 12:54:31 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-03-29 12:54:31 -0400 |
| commit | 04d9adc8138566eec5d6bf7b233a6c617306bcce (patch) | |
| tree | 8414c07e92cdd17613190cd6a8e179b2eed2f00c /builtins/types.c | |
| parent | d94053ca7768037016cbcacc4cadf843dad1bea6 (diff) | |
Switch naming convention to use '$' in symbols more
Diffstat (limited to 'builtins/types.c')
| -rw-r--r-- | builtins/types.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/builtins/types.c b/builtins/types.c index cdf58735..355473e9 100644 --- a/builtins/types.c +++ b/builtins/types.c @@ -11,7 +11,7 @@ #include "table.h" #include "types.h" -public CORD Type__as_text(const void *typeinfo, bool colorize, const TypeInfo *type) +public CORD Type$as_text(const void *typeinfo, bool colorize, const TypeInfo *type) { if (!typeinfo) return "TypeInfo"; @@ -22,17 +22,17 @@ public CORD Type__as_text(const void *typeinfo, bool colorize, const TypeInfo *t return c; } -public const TypeInfo TypeInfo_info = { +public const TypeInfo $TypeInfo = { .size=sizeof(TypeInfo), .align=__alignof__(TypeInfo), .tag=CustomInfo, .TypeInfoInfo.type_str="TypeInfo", }; -public const TypeInfo Void = {.size=0, .align=0}; -public const TypeInfo Abort = {.size=0, .align=0}; +public const TypeInfo $Void = {.size=0, .align=0}; +public const TypeInfo $Abort = {.size=0, .align=0}; -public CORD Func__as_text(const void *fn, bool colorize, const TypeInfo *type) +public CORD Func$as_text(const void *fn, bool colorize, const TypeInfo *type) { (void)fn; CORD c = type->FunctionInfo.type_str; |
