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
TypeMap typeMap = null; TypeMap typeMap = null;
if (TypeMapDatabase.FindTypeMap(decl, out typeMap)) if (TypeMapDatabase.FindTypeMap(decl, out typeMap))
{ return typeMap.IsIgnored;
if (typeMap.IsIgnored)
return true;
}
return base.VisitTypedefType(typedef, quals); return base.VisitTypedefType(typedef, quals);
} }

Loading…
Cancel
Save