git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
18 lines
229 B
OpenEdge ABL
18 lines
229 B
OpenEdge ABL
%module using_pointers
|
|
|
|
%inline %{
|
|
class Foo {
|
|
public:
|
|
int x;
|
|
virtual ~Foo() { }
|
|
virtual Foo* blah() { return this; }
|
|
};
|
|
|
|
class FooBar : public Foo {
|
|
public:
|
|
using Foo::blah;
|
|
using Foo::x;
|
|
};
|
|
|
|
%}
|
|
|