Browse Source

Respect the type map information when checking for ignored types.

pull/1/head
triton 13 years ago
parent
commit
eaa833bd17
  1. 8
      src/Generator/Types/Types.cs

8
src/Generator/Types/Types.cs

@ -51,9 +51,13 @@ namespace CppSharp @@ -51,9 +51,13 @@ namespace CppSharp
TypeMap typeMap;
if (TypeMapDatabase.FindTypeMap(decl, out typeMap))
return typeMap.IsIgnored;
{
if (typeMap.IsIgnored)
Ignore();
return false;
}
if (!decl.IsGenerated || decl.ExplicityIgnored)
if (decl.Ignore)
{
Ignore();
return false;

Loading…
Cancel
Save