/trunk/Examples/test-suite/constructor_rename.i
Swig | 12 lines | 10 code | 2 blank | 0 comment | 0 complexity | 8e2abefcb40e6ae1a869517f6ef78162 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- %module constructor_rename
- %{
- struct Foo {
- Foo() {}
- };
- %}
- struct Foo {
- %rename(RenamedConstructor) Foo();
- Foo() {}
- };