diff options
Diffstat (limited to 'code')
| -rw-r--r-- | code/demo.odin | 15 | ||||
| -rw-r--r-- | code/win32.odin | 2 |
2 files changed, 2 insertions, 15 deletions
diff --git a/code/demo.odin b/code/demo.odin index 4909a3e72..f1667bd66 100644 --- a/code/demo.odin +++ b/code/demo.odin @@ -1,19 +1,6 @@ #import "punity.odin" as pn -#import "fmt.odin" as fmt - -test :: proc() { - thing :: proc() { - thing :: proc() { - fmt.println("Hello1") - } - - fmt.println("Hello") - } -} main :: proc() { - test() - init :: proc(c: ^pn.Core) { } @@ -24,5 +11,5 @@ main :: proc() { } } - pn.run(init, step) + // pn.run(init, step) } diff --git a/code/win32.odin b/code/win32.odin index 0ccc934aa..a1fac63f0 100644 --- a/code/win32.odin +++ b/code/win32.odin @@ -96,7 +96,7 @@ SetWindowTextA :: proc(hwnd: HWND, c_string: ^u8) -> BOOL #foreign #dll_import QueryPerformanceFrequency :: proc(result: ^i64) -> i32 #foreign #dll_import QueryPerformanceCounter :: proc(result: ^i64) -> i32 #foreign #dll_import -Sleep :: proc(ms: i32) -> i32 #foreign +Sleep :: proc(ms: i32) -> i32 #foreign #dll_import OutputDebugStringA :: proc(c_str: ^u8) #foreign #dll_import |