Add missing @(require_results)

This commit is contained in:
gingerBill
2024-05-14 18:46:45 +01:00
parent 2b43535961
commit 6f9dcb4e02

View File

@@ -47,6 +47,7 @@ temp_cstring :: proc(s: string) -> (cstring, runtime.Allocator_Error) {
return clone_to_cstring(s, temp_allocator())
}
@(require_results)
string_from_null_terminated_bytes :: proc(b: []byte) -> (res: string) {
s := string(b)
i := 0