/tags/rel-1.3.35/Examples/test-suite/using_protected.i
# · Swig · 17 lines · 13 code · 4 blank · 0 comment · 0 complexity · 3a3c055006c56e1f3f43507430eca469 MD5 · raw file
- %module using_protected
- %inline %{
- class Foo {
- protected:
- int x;
- int blah(int xx) { return xx; }
- };
- class FooBar : public Foo {
- public:
- using Foo::blah;
- using Foo::x;
- };
- %}