Begin mapping os.Error in the rest of the codebase
This commit is contained in:
1 parent
1d75a612d5
commit
97c499dbb4
18 files changed
+231
-222
No files matched your search
@@ -635,6 +635,7 @@ foreign dl {
|
||||
@(link_name="dlerror") _unix_dlerror :: proc() -> cstring ---
|
||||
}
|
||||
|
||||
@(require_results, no_instrumentation)
|
||||
get_last_error :: proc "contextless" () -> Error {
|
||||
return Platform_Error(__error()^)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user