Browse Source

Changed the declaration default access specifier to be public.

This fixes some problems with CheckIgnoredDeclsPass that ignores declarations that are not public, which .
pull/68/merge
João Matos 12 years ago
parent
commit
7599ebd555
  1. 3
      src/AST/Declaration.cs

3
src/AST/Declaration.cs

@ -202,6 +202,7 @@ namespace CppSharp.AST @@ -202,6 +202,7 @@ namespace CppSharp.AST
protected Declaration()
{
Access = AccessSpecifier.Public;
IgnoreFlags = IgnoreFlags.None;
ExcludeFromPasses = new HashSet<System.Type>();
PreprocessedEntities = new List<PreprocessedEntity>();
@ -274,4 +275,4 @@ namespace CppSharp.AST @@ -274,4 +275,4 @@ namespace CppSharp.AST
T VisitEvent(Event @event);
T VisitProperty(Property @property);
}
}
}

Loading…
Cancel
Save