/trunk/Examples/test-suite/constructor_rename.i
# · Swig · 12 lines · 10 code · 2 blank · 0 comment · 0 complexity · 8e2abefcb40e6ae1a869517f6ef78162 MD5 · raw file
- %module constructor_rename
- %{
- struct Foo {
- Foo() {}
- };
- %}
- struct Foo {
- %rename(RenamedConstructor) Foo();
- Foo() {}
- };