summaryrefslogtreecommitdiff
path: root/val.c
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-08-04 18:20:32 +0100
committerubq323 <ubq323@ubq323.website>2023-08-04 18:20:32 +0100
commit7c9790d7726e0bb3f44bec15eff7631080d45b03 (patch)
tree779e9c18a7482fd707f46a3b25008b6d8a05c393 /val.c
parentd8b50976ce7fd4a44ba9172d69e8ae4ca6cab596 (diff)
valty_str -> typename_str
Diffstat (limited to 'val.c')
-rw-r--r--val.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/val.c b/val.c
index 41d3a06..cd76595 100644
--- a/val.c
+++ b/val.c
@@ -42,7 +42,7 @@ void println_val(Val v) {
}
-const char *valty_str(Val v) {
+const char *typename_str(Val v) {
switch(v.ty) {
case TY_NIL: return "nil";
case TY_NUM: return "num";