From 09d398c748c2707918c9f531b91d161b08cb1163 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Thu, 30 Dec 2021 14:28:19 +0100 Subject: Code format --- api/str.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'api/str.c') 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) -- cgit v1.2.3