diff options
Diffstat (limited to 'code')
| -rw-r--r-- | code/demo.odin | 11 | ||||
| -rw-r--r-- | code/win32.odin | 7 |
2 files changed, 11 insertions, 7 deletions
diff --git a/code/demo.odin b/code/demo.odin index 24da86658..3b22859e2 100644 --- a/code/demo.odin +++ b/code/demo.odin @@ -1,13 +1,10 @@ -// #load "basic.odin" -#import "runtime.odin" #import "print.odin" +test_proc :: proc() { + println("Hello?") +} + main :: proc() { println("% % % %", "Hellope", true, 6.28, {4}int{1, 2, 3, 4}) - x: struct #ordered { - x, y: int - z: f32 - } - println("%", x) } diff --git a/code/win32.odin b/code/win32.odin index 2bc927ecb..794812054 100644 --- a/code/win32.odin +++ b/code/win32.odin @@ -1,6 +1,12 @@ #foreign_system_library "user32" #foreign_system_library "gdi32" + +test_proc :: proc() { + x := "Goodbye?" +} + + HANDLE :: type rawptr HWND :: type HANDLE HDC :: type HANDLE @@ -398,3 +404,4 @@ Key_Code :: enum i32 { PA1 = 0xFD, OEM_CLEAR = 0xFE, } + |