merge from upstream and convert to ^File types
This commit is contained in:
commit
fff23e2bbb
276 files changed
+30247
-7931
No files matched your search
@@ -130,7 +130,7 @@ EHWPOISON :: 133 /* Memory page has hardware error */
|
||||
|
||||
_get_platform_error :: proc(res: int) -> Error {
|
||||
errno := unix.get_errno(res)
|
||||
return Platform_Error{i32(errno)}
|
||||
return Platform_Error(i32(errno))
|
||||
}
|
||||
|
||||
_ok_or_error :: proc(res: int) -> Error {
|
||||
|
||||
Reference in new issue
Block a user