mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-18 20:02:22 -07: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:
@@ -174,6 +174,7 @@ struct AstPackage {
|
||||
Array<AstFile *> files;
|
||||
Array<AstForeignFile> foreign_files;
|
||||
bool is_single_file;
|
||||
isize order;
|
||||
|
||||
MPMCQueue<AstPackageExportedEntity> exported_entity_queue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user