mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Remove runtime.os_stdout, since it is not required by the runtime
This commit is contained in:
@@ -6,9 +6,6 @@ import "core:os"
|
|||||||
_OS_Errno :: distinct int;
|
_OS_Errno :: distinct int;
|
||||||
_OS_Handle :: os.Handle;
|
_OS_Handle :: os.Handle;
|
||||||
|
|
||||||
os_stdout :: proc "contextless" () -> _OS_Handle {
|
|
||||||
return os.stdout;
|
|
||||||
}
|
|
||||||
os_stderr :: proc "contextless" () -> _OS_Handle {
|
os_stderr :: proc "contextless" () -> _OS_Handle {
|
||||||
return os.stderr;
|
return os.stderr;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,9 +4,6 @@ package runtime
|
|||||||
_OS_Errno :: distinct int;
|
_OS_Errno :: distinct int;
|
||||||
_OS_Handle :: distinct uintptr;
|
_OS_Handle :: distinct uintptr;
|
||||||
|
|
||||||
os_stdout :: proc "contextless" () -> _OS_Handle {
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
os_stderr :: proc "contextless" () -> _OS_Handle {
|
os_stderr :: proc "contextless" () -> _OS_Handle {
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user