merge from upstream and convert to ^File types

This commit is contained in:
jason committed 2022-05-16 13:49:57 -04:00
commit fff23e2bbb
276 files changed
+30247 -7931

No files matched your search

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