mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-01 10:52:19 +00:00
Fix #3341
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user