Upstream version 1.3.40
[profile/ivi/swig.git] / Examples / test-suite / overload_rename.i
1 %module overload_rename
2
3
4 %{
5
6 class Foo {
7 public:
8   Foo(float a, float b=1.0)
9   {
10   }
11   
12   Foo(float a, int c, float b=1.0)
13   {
14   }
15   
16 };
17
18 %}
19
20 %rename(Foo_int) Foo::Foo(float a, int c, float b=1.0);
21
22 class Foo {
23 public:
24   Foo(float a, float b=1.0);
25   Foo(float a, int c, float b=1.0);
26 };
27
28