mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-25 07:04:58 -07:00
Allow for NO_DEFAULT_STRUCT_VALUES
(will decide later if I want them or not)
This commit is contained in:
+1
-1
@@ -684,7 +684,7 @@ Type *ir_type(irValue *value) {
|
||||
|
||||
|
||||
bool ir_type_has_default_values(Type *t) {
|
||||
#if 1
|
||||
#if !defined(NO_DEFAULT_STRUCT_VALUES)
|
||||
switch (t->kind) {
|
||||
case Type_Named:
|
||||
return ir_type_has_default_values(t->Named.base);
|
||||
|
||||
Reference in New Issue
Block a user