Begin converting os.Errno to be a nil-able type as a transition period

This commit is contained in:
gingerBill committed 2024-08-04 10:51:08 +01:00
1 parent 71932628cc
commit e60951a902
22 files changed
+1165 -666

No files matched your search

+2 -2
View File
@@ -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