Files
cpp-thirdparty/winx64/bin/swig-3.0.12/Examples/test-suite/abstract_signature.i
Bassem Girgis 81b4b9e273 Initial commit
2018-12-20 17:34:07 -06:00

27 lines
568 B
OpenEdge ABL

%module abstract_signature
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) abstract_foo; // Ruby, wrong class name
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) abstract_bar; // Ruby, wrong class name
%inline %{
class abstract_foo
{
public:
abstract_foo() { };
virtual ~abstract_foo() { };
virtual int meth(int meth_param) = 0;
};
class abstract_bar : public abstract_foo
{
public:
abstract_bar() { };
virtual ~abstract_bar() { };
virtual int meth(int meth_param) = 0;
int meth(int meth_param_1, int meth_param_2) { return 0; }
};
%}