From 7599ebd555320bd3ea06432c7b4eba50635175b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Matos?= Date: Fri, 20 Sep 2013 00:34:42 +0100 Subject: [PATCH] Changed the declaration default access specifier to be public. This fixes some problems with CheckIgnoredDeclsPass that ignores declarations that are not public, which . --- src/AST/Declaration.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/AST/Declaration.cs b/src/AST/Declaration.cs index c973f351..ffd292ef 100644 --- a/src/AST/Declaration.cs +++ b/src/AST/Declaration.cs @@ -202,6 +202,7 @@ namespace CppSharp.AST protected Declaration() { + Access = AccessSpecifier.Public; IgnoreFlags = IgnoreFlags.None; ExcludeFromPasses = new HashSet(); PreprocessedEntities = new List(); @@ -274,4 +275,4 @@ namespace CppSharp.AST T VisitEvent(Event @event); T VisitProperty(Property @property); } -} \ No newline at end of file +}