mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00:00
Make os.get_last_error contextless
This commit is contained in:
@@ -333,7 +333,7 @@ foreign dl {
|
||||
@(link_name="dlerror") _unix_dlerror :: proc() -> cstring ---
|
||||
}
|
||||
|
||||
get_last_error :: proc() -> int {
|
||||
get_last_error :: proc "contextless" () -> int {
|
||||
return __error()^
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user