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. 1
      src/AST/Declaration.cs

1
src/AST/Declaration.cs

@ -202,6 +202,7 @@ namespace CppSharp.AST
protected Declaration() protected Declaration()
{ {
Access = AccessSpecifier.Public;
IgnoreFlags = IgnoreFlags.None; IgnoreFlags = IgnoreFlags.None;
ExcludeFromPasses = new HashSet<System.Type>(); ExcludeFromPasses = new HashSet<System.Type>();
PreprocessedEntities = new List<PreprocessedEntity>(); PreprocessedEntities = new List<PreprocessedEntity>();

Loading…
Cancel
Save