mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-31 03:40:08 +00:00
#import and #load
#import - imported entities will not get exported #load - loaded entities will get exported
This commit is contained in:
+1
-14
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user