mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-05 03:44:45 -04:00
Add @(init) attribute for procedures, allowing for procedures to be called at startup
These procedures will be called after global variables have been initialized as normal
This commit is contained in:
1 parent
b3a66b3950
commit
2bdae52fed
7 files changed
+145
-13
No files matched your search
@@ -73,6 +73,7 @@ enum EntityFlag : u64 {
|
||||
EntityFlag_SwitchValue = 1ull<<29,
|
||||
|
||||
EntityFlag_Test = 1ull<<30,
|
||||
EntityFlag_Init = 1ull<<31,
|
||||
|
||||
EntityFlag_Overridden = 1ull<<63,
|
||||
|
||||
|
||||
Reference in new issue
Block a user