Initial commit

This commit is contained in:
Bassem Girgis
2018-12-20 17:34:07 -06:00
parent 7a2d899662
commit 81b4b9e273
34743 changed files with 5940233 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
%module using_protected
%inline %{
class Foo {
protected:
int x;
int blah(int xx) { return xx; }
virtual int vmethod(int xx) { return xx; }
virtual ~Foo() {}
};
class FooBar : public Foo {
public:
using Foo::blah;
using Foo::x;
using Foo::vmethod;
};
class FooBaz : public Foo {
protected:
using Foo::blah;
using Foo::x;
using Foo::vmethod;
};
%}