Add missing @(require_results)
This commit is contained in:
1 parent
2b43535961
commit
6f9dcb4e02
1 file changed
+1
@@ -47,6 +47,7 @@ temp_cstring :: proc(s: string) -> (cstring, runtime.Allocator_Error) {
|
|||||||
return clone_to_cstring(s, temp_allocator())
|
return clone_to_cstring(s, temp_allocator())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@(require_results)
|
||||||
string_from_null_terminated_bytes :: proc(b: []byte) -> (res: string) {
|
string_from_null_terminated_bytes :: proc(b: []byte) -> (res: string) {
|
||||||
s := string(b)
|
s := string(b)
|
||||||
i := 0
|
i := 0
|
||||||
|
|||||||
Reference in new issue
Block a user