Remove := context.allocator usage in package os2

This commit is contained in:
gingerBill
2023-02-10 11:46:29 +00:00
parent 570b127869
commit 55b79c078c
6 changed files with 17 additions and 12 deletions
+4 -2
View File
@@ -1,7 +1,9 @@
//+private
package os2
_get_env :: proc(key: string, allocator := context.allocator) -> (value: string, found: bool) {
import "core:runtime"
_get_env :: proc(key: string, allocator: runtime.Allocator) -> (value: string, found: bool) {
//TODO
return
}
@@ -20,7 +22,7 @@ _clear_env :: proc() {
//TODO
}
_environ :: proc(allocator := context.allocator) -> []string {
_environ :: proc(allocator: runtime.Allocator) -> []string {
//TODO
return nil
}