export declarations

This commit is contained in:
Ginger Bill
2017-08-27 19:36:43 +01:00
parent 2d20bde495
commit cf3c5a878a
5 changed files with 263 additions and 116 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
using import . "os_windows.odin" when ODIN_OS == "windows";
using import . "os_x.odin" when ODIN_OS == "osx";
using import . "os_linux.odin" when ODIN_OS == "linux";
export "os_windows.odin" when ODIN_OS == "windows";
export "os_x.odin" when ODIN_OS == "osx";
export "os_linux.odin" when ODIN_OS == "linux";
write_string :: proc(fd: Handle, str: string) -> (int, Errno) {
return write(fd, cast([]u8)str);