diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-03-03 18:16:33 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-03-03 18:16:33 -0500 |
| commit | 23478e7036fe9fbee17263e52d5d8a37adce1c95 (patch) | |
| tree | 7c588c0f7b7ac2f81dbbd960a8f70b197613b229 /builtins/memory.c | |
| parent | 8fab88c56f95c03ffcb4be178f5dbb21b239d95e (diff) | |
Rename as_str -> as_text
Diffstat (limited to 'builtins/memory.c')
| -rw-r--r-- | builtins/memory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtins/memory.c b/builtins/memory.c index 2ce2422e..41b1a841 100644 --- a/builtins/memory.c +++ b/builtins/memory.c @@ -13,7 +13,7 @@ #include "memory.h" #include "types.h" -public CORD Memory__as_str(const void *p, bool colorize, const TypeInfo *type) { +public CORD Memory__as_text(const void *p, bool colorize, const TypeInfo *type) { (void)type; if (!p) return "Memory"; CORD cord; @@ -25,7 +25,7 @@ public const TypeInfo Memory = { .size=0, .align=0, .tag=CustomInfo, - .CustomInfo={.as_str=(void*)Memory__as_str}, + .CustomInfo={.as_text=(void*)Memory__as_text}, }; // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 |
