mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-24 00:17:54 +00:00
Begin converting os.Errno to be a nil-able type as a transition period
This commit is contained in:
@@ -23,8 +23,8 @@ foreign libc {
|
||||
}
|
||||
|
||||
@(no_instrumentation)
|
||||
get_last_error :: proc "contextless" () -> int {
|
||||
return int(__error()^)
|
||||
get_last_error :: proc "contextless" () -> os.Platform_Error {
|
||||
return os.Platform_Error(__error()^)
|
||||
}
|
||||
|
||||
MAX_RW :: 0x7fffffff
|
||||
|
||||
Reference in New Issue
Block a user