mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Mockup of the new package os interface (incomplete and non-functioning)
This commit is contained in:
@@ -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