Browse Source

Add missing `@(require_results)`

gingerBill 1 year ago
parent
commit
6f9dcb4e02
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/os/os2/internal_util.odin

+ 1 - 0
core/os/os2/internal_util.odin

@@ -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