mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Use union #shared_nil for os.Error
This commit is contained in:
@@ -478,7 +478,7 @@ is_path_separator :: proc(r: rune) -> bool {
|
||||
}
|
||||
|
||||
get_last_error :: proc "contextless" () -> Error {
|
||||
return Error(__errno_location()^)
|
||||
return Platform_Error(__errno_location()^)
|
||||
}
|
||||
|
||||
open :: proc(path: string, flags: int = O_RDONLY, mode: int = 0) -> (Handle, Errno) {
|
||||
|
||||
Reference in New Issue
Block a user