Clean up core:time to be consistent across all platforms

This commit is contained in:
gingerBill
2022-05-12 15:47:24 +01:00
parent 97739da85a
commit f002857edc
11 changed files with 159 additions and 138 deletions
+2
View File
@@ -14,6 +14,7 @@ General_Error :: enum u32 {
Timeout,
Invalid_File,
Invalid_Dir,
Invalid_Path,
Unsupported,
@@ -51,6 +52,7 @@ error_string :: proc(ferr: Error) -> string {
case .Closed: return "file already closed"
case .Timeout: return "i/o timeout"
case .Invalid_File: return "invalid file"
case .Invalid_Dir: return "invalid directory"
case .Invalid_Path: return "invalid path"
case .Unsupported: return "unsupported"
}