Browse Source

Fixed the type ignore checker to return the value of the matching type map under all cases.

pull/1/head
triton 13 years ago
parent
commit
afc4517029
  1. 5
      src/Generator/Types/Types.cs

5
src/Generator/Types/Types.cs

@ -108,10 +108,7 @@ namespace Cxxi @@ -108,10 +108,7 @@ namespace Cxxi
TypeMap typeMap = null;
if (TypeMapDatabase.FindTypeMap(decl, out typeMap))
{
if (typeMap.IsIgnored)
return true;
}
return typeMap.IsIgnored;
return base.VisitTypedefType(typedef, quals);
}

Loading…
Cancel
Save