mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
getting tests to run
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user