This commit is contained in:
gingerBill
2024-03-27 16:48:51 +00:00
parent 7b387fd3aa
commit cf9bdc134c
2 changed files with 10 additions and 3 deletions

View File

@@ -1061,6 +1061,13 @@ gb_internal Type *alloc_type_struct() {
return t;
}
gb_internal Type *alloc_type_struct_complete() {
Type *t = alloc_type(Type_Struct);
wait_signal_set(&t->Struct.fields_wait_signal);
return t;
}
gb_internal Type *alloc_type_union() {
Type *t = alloc_type(Type_Union);
return t;