Mockup of the new package os interface (incomplete and non-functioning)
This commit is contained in:
1 parent
3a4373641b
commit
ebbc33fdb5
21 files changed
+1621
No files matched your search
@@ -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 "";
|
||||
}
|
||||
Reference in new issue
Block a user