aboutsummaryrefslogtreecommitdiff
path: root/api/str.c
diff options
context:
space:
mode:
Diffstat (limited to 'api/str.c')
-rw-r--r--api/str.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/str.c b/api/str.c
index c634fc2..37b8e70 100644
--- a/api/str.c
+++ b/api/str.c
@@ -7,7 +7,7 @@ UwUVMValue uwustr_create(const char *value)
return (UwUVMValue) {
.type = VT_STR,
.value = {
- .str_value = strdup(value),
+ .str_value = strdup(value),
},
};
}
@@ -23,7 +23,7 @@ char *uwustr_get(UwUVMValue vm_value)
case VT_REF:
return asprintf_wrapper("[Function reference: %p]", vm_value.value.ref_value);
-
+
case VT_NAT:
return vm_value.value.nat_value.type->print
? vm_value.value.nat_value.type->print(vm_value.value.nat_value.data)