modify test to show problem with %extend+overload
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6296 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f4b9b5cd02
commit
12e6cdc4f0
1 changed files with 1 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
||||||
Foo(int a) { return new Foo(); }
|
Foo(int a) { return new Foo(); }
|
||||||
~Foo() { delete self;}
|
~Foo() { delete self;}
|
||||||
int spam(int x) { return x; }
|
int spam(int x) { return x; }
|
||||||
|
int spam(int x, int y) { return x + y ; }
|
||||||
};
|
};
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue