diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2017-02-01 20:31:57 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-01 20:31:57 +0000 |
| commit | c6133587d1bdf7ae723beb8c3a3b27b472bf2d7a (patch) | |
| tree | fd080deab099e74ec5f50841c6a8b5b5b8b5c3c4 /code | |
| parent | 4e7082a68dd5261c3c36eccf92a62a0ce84995a8 (diff) | |
| parent | 5516e80ab775d1100beca7847e10520eae4b151c (diff) | |
Merge pull request #16 from zhiayang/master
Basic, but sketchy, but somewhat usable, non-windows support
Diffstat (limited to 'code')
| -rw-r--r-- | code/old_demos/demo001.odin | 33 | ||||
| -rw-r--r-- | code/test.odin | 6 |
2 files changed, 21 insertions, 18 deletions
diff --git a/code/old_demos/demo001.odin b/code/old_demos/demo001.odin index 7e80f0d1b..c3fc0f663 100644 --- a/code/old_demos/demo001.odin +++ b/code/old_demos/demo001.odin @@ -6,21 +6,24 @@ // #import "punity.odin" as pn; main :: proc() { - // struct_padding() - // bounds_checking() - // type_introspection() - // any_type() - // crazy_introspection() - // namespaces_and_files() - // miscellany() - // ht.run() - // game.run() - // { - // init :: proc(c: ^pn.Core) {} - // step :: proc(c: ^pn.Core) {} - - // pn.run(init, step) - // } + struct_padding(); + bounds_checking(); + type_introspection(); + any_type(); + crazy_introspection(); + namespaces_and_files(); + miscellany(); + + /* + ht.run(); + game.run(); + { + init :: proc(c: ^pn.Core) {} + step :: proc(c: ^pn.Core) {} + + pn.run(init, step); + } + */ } struct_padding :: proc() { diff --git a/code/test.odin b/code/test.odin index 18fc36c16..bcd4ddc57 100644 --- a/code/test.odin +++ b/code/test.odin @@ -5,10 +5,10 @@ thing :: proc() { }*/ -#import "fmt.odin" as format +#import "fmt.odin"; -thing :: proc() { - format.println("Hello2!") +main :: proc() { + fmt.println("hello, world!"); } |