Fix link error in test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12490 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a77b30e664
commit
4458ce66d0
1 changed files with 5 additions and 1 deletions
|
|
@ -12,5 +12,9 @@ class B {
|
|||
int foo(int x);
|
||||
A foo(string y);
|
||||
};
|
||||
|
||||
%}
|
||||
|
||||
%{
|
||||
int B::foo(int x) { return 0; }
|
||||
A B::foo(string y) { return A(); }
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue