From 23478e7036fe9fbee17263e52d5d8a37adce1c95 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 3 Mar 2024 18:16:33 -0500 Subject: Rename as_str -> as_text --- builtins/memory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'builtins/memory.c') 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 -- cgit v1.2.3