mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-13 22:15:36 -04:00
Fix #3341
This commit is contained in:
1 parent
7b387fd3aa
commit
cf9bdc134c
2 files changed
+10
-3
No files matched your search
@@ -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