summaryrefslogtreecommitdiff
path: root/Examples/test-suite/overload_rename.i
blob: cdb64514a762bf7abc77b910c004eff5532e0880 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
%module overload_rename


%{

class Foo {
public:
  Foo(float a, float b=1.0)
  {
  }
  
  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);
};