Unexported struct fields

This commit is contained in:
Ginger Bill
2017-02-19 12:38:49 +00:00
parent 3cec2550d9
commit 6fdcbefe5d
5 changed files with 52 additions and 28 deletions
+1
View File
@@ -113,6 +113,7 @@ bool is_entity_kind_exported(EntityKind kind) {
}
bool is_entity_exported(Entity *e) {
// TODO(bill): Determine the actual exportation rules for imports of entities
GB_ASSERT(e != NULL);
if (!is_entity_kind_exported(e->kind)) {
return false;