Browse Source

Pass the type map database instance to TypeIgnoreChecker.

pull/1/head
triton 13 years ago
parent
commit
4457afed6a
  1. 7
      src/Generator/Types/Types.cs

7
src/Generator/Types/Types.cs

@ -53,6 +53,13 @@ namespace Cxxi @@ -53,6 +53,13 @@ namespace Cxxi
/// </summary>
public class TypeIgnoreChecker : AstVisitor
{
ITypeMapDatabase TypeMapDatabase { get; set; }
public TypeIgnoreChecker(ITypeMapDatabase database)
{
TypeMapDatabase = database;
}
public override bool VisitDeclaration(Declaration decl)
{
return decl.Ignore;

Loading…
Cancel
Save