]> git.lizzy.rs Git - uwu-lang.git/blobdiff - api/str.c
Code format
[uwu-lang.git] / api / str.c
index c634fc24def2753e2debddea6d9b0f257a80978e..37b8e7015ca5b97b641f1b0b843002effcbd072b 100644 (file)
--- 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)