fix overload + protected member issue reported by Colin McDonald

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8851 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-02-20 16:52:28 +00:00
commit a437930f4d
3 changed files with 22 additions and 4 deletions

View file

@ -165,3 +165,15 @@ long long ll(long long ull) { return ull; }
#endif
%inline {
class ClassA
{
public:
ClassA() {}
int method1( int arg1 ) {return arg1;}
protected:
int method1( int arg1, int arg2 ) {return arg1 + arg2;}
};
}

View file

@ -96,3 +96,7 @@ if s.type != "void *":
free_void(v)
a = ClassA()
b = a.method1(1)