mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Add missing @(require_results)
This commit is contained in:
@@ -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