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

No files matched your search

+7
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;