Browse Source

Generated protected methods and fields.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
pull/51/head
Dimitar Dobrev 13 years ago
parent
commit
e0a3cde7a4
  1. 4
      src/Generator/AST/Utils.cs

4
src/Generator/AST/Utils.cs

@ -37,7 +37,7 @@ namespace CppSharp.AST @@ -37,7 +37,7 @@ namespace CppSharp.AST
if (method.Kind == CXXMethodKind.Conversion)
return true;
if (method.Access != AccessSpecifier.Public)
if (method.Access == AccessSpecifier.Private)
return true;
return false;
@ -45,7 +45,7 @@ namespace CppSharp.AST @@ -45,7 +45,7 @@ namespace CppSharp.AST
public static bool CheckIgnoreField(Field field)
{
if (field.Access != AccessSpecifier.Public)
if (field.Access == AccessSpecifier.Private)
return true;
return field.Ignore;

Loading…
Cancel
Save