Begin converting os.Errno to be a nil-able type as a transition period
This commit is contained in:
1 parent
71932628cc
commit
e60951a902
22 files changed
+1165
-666
No files matched your search
@@ -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