Handle undefined struct types when generating headers.
This commit is contained in:
@@ -1136,6 +1136,9 @@ lGetExportedTypes(const Type *type,
|
|||||||
lGetExportedTypes(structType->GetElementType(i), exportedStructTypes,
|
lGetExportedTypes(structType->GetElementType(i), exportedStructTypes,
|
||||||
exportedEnumTypes, exportedVectorTypes);
|
exportedEnumTypes, exportedVectorTypes);
|
||||||
}
|
}
|
||||||
|
else if (CastType<UndefinedStructType>(type) != NULL)
|
||||||
|
// do nothing
|
||||||
|
;
|
||||||
else if (CastType<EnumType>(type) != NULL)
|
else if (CastType<EnumType>(type) != NULL)
|
||||||
lAddTypeIfNew(type, exportedEnumTypes);
|
lAddTypeIfNew(type, exportedEnumTypes);
|
||||||
else if (CastType<VectorType>(type) != NULL)
|
else if (CastType<VectorType>(type) != NULL)
|
||||||
|
|||||||
Reference in New Issue
Block a user