mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-23 04:50:36 +00:00
Call expression, either handle all or ignore all results.
This commit is contained in:
@@ -51,7 +51,7 @@ struct Entity {
|
||||
b8 is_field; // Is struct field
|
||||
} Variable;
|
||||
struct {
|
||||
struct DeclInfo *decl; // Usually NULL
|
||||
// struct DeclInfo *decl; // Usually NULL
|
||||
} TypeName;
|
||||
struct {
|
||||
b8 pure;
|
||||
@@ -66,6 +66,15 @@ struct Entity {
|
||||
};
|
||||
};
|
||||
|
||||
b32 is_entity_exported(Entity *e) {
|
||||
// TODO(bill): Do I really want non-exported entities?
|
||||
// if (e->token.string.len >= 1 &&
|
||||
// e->token.string.text[0] == '_') {
|
||||
// return false;
|
||||
// }
|
||||
return true;
|
||||
}
|
||||
|
||||
gb_global gbAtomic64 entity_guid_counter = {0};
|
||||
|
||||
EntityGuid next_entity_guid(void) {
|
||||
|
||||
Reference in New Issue
Block a user