diff --git a/module.cpp b/module.cpp index d16916be..f69fa0f7 100644 --- a/module.cpp +++ b/module.cpp @@ -1136,6 +1136,9 @@ lGetExportedTypes(const Type *type, lGetExportedTypes(structType->GetElementType(i), exportedStructTypes, exportedEnumTypes, exportedVectorTypes); } + else if (CastType(type) != NULL) + // do nothing + ; else if (CastType(type) != NULL) lAddTypeIfNew(type, exportedEnumTypes); else if (CastType(type) != NULL)