getting tests to run

This commit is contained in:
Jason Kercher
2022-03-10 11:12:06 -05:00
parent b91c0ec715
commit 0b61215f7b
5 changed files with 54 additions and 12 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
//+private
package os2
import "core:runtime"
import "core:mem"
//import "core:runtime"
//import "core:mem"
import win32 "core:sys/windows"
_get_env :: proc(key: string, allocator := context.allocator) -> (value: string, found: bool) {
-5
View File
@@ -36,11 +36,6 @@ _std_handle :: proc(kind: Std_Handle_Kind) -> Handle {
unreachable()
}
_opendir :: proc(path: string) -> (handle: Handle, err: Error) {
return INVALID_HANDLE, .Invalid_Argument
}
_open :: proc(path: string, flags: File_Flags, perm: File_Mode) -> (handle: Handle, err: Error) {
handle = INVALID_HANDLE
if len(path) == 0 {