aboutsummaryrefslogtreecommitdiff
path: root/builtins/types.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-03-03 18:16:33 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-03-03 18:16:33 -0500
commit23478e7036fe9fbee17263e52d5d8a37adce1c95 (patch)
tree7c588c0f7b7ac2f81dbbd960a8f70b197613b229 /builtins/types.h
parent8fab88c56f95c03ffcb4be178f5dbb21b239d95e (diff)
Rename as_str -> as_text
Diffstat (limited to 'builtins/types.h')
-rw-r--r--builtins/types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/builtins/types.h b/builtins/types.h
index 019cc970..397e14c1 100644
--- a/builtins/types.h
+++ b/builtins/types.h
@@ -21,7 +21,7 @@ typedef struct TypeInfo {
equal_fn_t equal;
compare_fn_t compare;
hash_fn_t hash;
- str_fn_t as_str;
+ str_fn_t as_text;
} CustomInfo;
struct {
const char *sigil;
@@ -59,7 +59,7 @@ extern const TypeInfo TypeInfo_info;
extern const TypeInfo Void;
extern const TypeInfo Abort;
-CORD Type__as_str(const void *typeinfo, bool colorize, const TypeInfo *type);
-CORD Func__as_str(const void *fn, bool colorize, const TypeInfo *type);
+CORD Type__as_text(const void *typeinfo, bool colorize, const TypeInfo *type);
+CORD Func__as_text(const void *fn, bool colorize, const TypeInfo *type);
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0