Browse Source

Do not visit class template declarations directly when checking for ignored types.

If we do not this, then type maps will get called with declarations and not types.
pull/123/head
triton 12 years ago
parent
commit
419272a91f
  1. 5
      src/Generator/Types/Types.cs

5
src/Generator/Types/Types.cs

@ -70,6 +70,11 @@ namespace CppSharp
return VisitDeclaration(@class); return VisitDeclaration(@class);
} }
public override bool VisitClassTemplateDecl(ClassTemplate template)
{
return false;
}
public override bool VisitTypedefType(TypedefType typedef, public override bool VisitTypedefType(TypedefType typedef,
TypeQualifiers quals) TypeQualifiers quals)
{ {

Loading…
Cancel
Save