added more test cases and broken ones
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
88a08fdfc8
commit
20debc4ed8
12 changed files with 218 additions and 4 deletions
28
Examples/test-suite/overload_rename.i
Normal file
28
Examples/test-suite/overload_rename.i
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
%module overload_rename
|
||||
|
||||
|
||||
%{
|
||||
|
||||
class Foo {
|
||||
public:
|
||||
Foo(float a, float b=1.0)
|
||||
{
|
||||
}
|
||||
r
|
||||
Foo(float a, int c, float b=1.0)
|
||||
{
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
%}
|
||||
|
||||
%rename(Foo_int) Foo::Foo(float a, int c, float b=1.0);
|
||||
|
||||
class Foo {
|
||||
public:
|
||||
Foo(float a, float b=1.0);
|
||||
Foo(float a, int c, float b=1.0);
|
||||
};
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue