mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-02 04:38:16 +00:00
-show-defineables and -export-defineables
This commit is contained in:
@@ -376,6 +376,15 @@ struct GenTypesData {
|
||||
RecursiveMutex mutex;
|
||||
};
|
||||
|
||||
struct Defineable {
|
||||
String name;
|
||||
ExactValue default_value;
|
||||
TokenPos pos;
|
||||
|
||||
String default_value_str;
|
||||
String pos_str;
|
||||
};
|
||||
|
||||
// CheckerInfo stores all the symbol information for a type-checked program
|
||||
struct CheckerInfo {
|
||||
Checker *checker;
|
||||
@@ -402,6 +411,9 @@ struct CheckerInfo {
|
||||
Array<Entity *> entities;
|
||||
Array<Entity *> required_foreign_imports_through_force;
|
||||
|
||||
BlockingMutex defineables_mutex;
|
||||
Array<Defineable> defineables;
|
||||
|
||||
|
||||
// Below are accessed within procedures
|
||||
RwMutex global_untyped_mutex;
|
||||
|
||||
Reference in New Issue
Block a user