diff options
| author | Laytan Laats <laytanlaats@hotmail.com> | 2024-01-22 17:21:52 +0100 |
|---|---|---|
| committer | Laytan Laats <laytanlaats@hotmail.com> | 2024-06-06 19:44:54 +0200 |
| commit | 9a95049393ea98ef6222bf217ab44dd127c3f960 (patch) | |
| tree | 8d03057733860b041964dffbe9f04b2c01493d60 /src/checker.cpp | |
| parent | b196b84ef24e90a8c1cfeb6226b43171c376c7b2 (diff) | |
-show-defineables and -export-defineables
Diffstat (limited to 'src/checker.cpp')
| -rw-r--r-- | src/checker.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/checker.cpp b/src/checker.cpp index 8a58bb425..0f23e308b 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -1275,6 +1275,7 @@ gb_internal void init_checker_info(CheckerInfo *i) { array_init(&i->init_procedures, a, 0, 0); array_init(&i->fini_procedures, a, 0, 0); array_init(&i->required_foreign_imports_through_force, a, 0, 0); + array_init(&i->defineables, a); map_init(&i->objc_msgSend_types); string_map_init(&i->load_file_cache); @@ -1304,6 +1305,7 @@ gb_internal void destroy_checker_info(CheckerInfo *i) { string_map_destroy(&i->packages); array_free(&i->variable_init_order); array_free(&i->required_foreign_imports_through_force); + array_free(&i->defineables); mpsc_destroy(&i->entity_queue); mpsc_destroy(&i->definition_queue); |