Mockup of the new package os interface (incomplete and non-functioning)

This commit is contained in:
gingerBill
2021-04-14 19:39:12 +01:00
parent 3a4373641b
commit ebbc33fdb5
21 changed files with 1621 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
//+private
package os2
import win32 "core:sys/windows"
_error_string :: proc(errno: i32) -> string {
e := win32.DWORD(errno);
if e == 0 {
return "";
}
// TODO(bill): _error_string for windows
// FormatMessageW
return "";
}