Support using of a bit_field within a struct

This commit is contained in:
gingerBill
2024-02-22 19:14:16 +00:00
parent 8060e3170e
commit c14b9d461a
4 changed files with 83 additions and 6 deletions
+2
View File
@@ -89,6 +89,8 @@ gb_internal bool does_field_type_allow_using(Type *t) {
return true;
} else if (is_type_array(t)) {
return t->Array.count <= 4;
} else if (is_type_bit_field(t)) {
return true;
}
return false;
}