mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-18 16:51:31 -07:00
Call expression, either handle all or ignore all results.
This commit is contained in:
+18
-6
@@ -1,16 +1,28 @@
|
||||
#import "runtime.odin" as _
|
||||
#import "punity.odin" as punity
|
||||
#import "punity.odin" as pn
|
||||
#import "fmt.odin" as fmt
|
||||
|
||||
test :: proc() {
|
||||
thing :: proc() {
|
||||
thing :: proc() {
|
||||
fmt.println("Hello1")
|
||||
}
|
||||
|
||||
fmt.println("Hello")
|
||||
}
|
||||
}
|
||||
|
||||
main :: proc() {
|
||||
init :: proc() {
|
||||
test()
|
||||
|
||||
init :: proc(c: ^pn.Core) {
|
||||
|
||||
}
|
||||
|
||||
step :: proc() {
|
||||
|
||||
step :: proc(c: ^pn.Core) {
|
||||
if pn.key_down(pn.Key.ESCAPE) {
|
||||
c.running = false
|
||||
}
|
||||
}
|
||||
|
||||
punity.run(init, step)
|
||||
pn.run(init, step)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user