aboutsummaryrefslogtreecommitdiff
path: root/builtins/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtins/memory.c')
-rw-r--r--builtins/memory.c4
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