The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5fcae5eb66
commit
12a43edc2d
1508 changed files with 125983 additions and 44037 deletions
25
Examples/test-suite/abstract_signature.i
Normal file
25
Examples/test-suite/abstract_signature.i
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
%module abstract_signature
|
||||
|
||||
%warnfilter(801) abstract_foo; // Ruby, wrong class name
|
||||
%warnfilter(801) 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() { };
|
||||
int meth(int meth_param_1, int meth_param_2) { return 0; }
|
||||
};
|
||||
|
||||
%}
|
||||
Loading…
Add table
Add a link
Reference in a new issue