/trunk/Examples/test-suite/constructor_rename.i

# · Swig · 12 lines · 10 code · 2 blank · 0 comment · 0 complexity · 8e2abefcb40e6ae1a869517f6ef78162 MD5 · raw file

  1. %module constructor_rename
  2. %{
  3. struct Foo {
  4. Foo() {}
  5. };
  6. %}
  7. struct Foo {
  8. %rename(RenamedConstructor) Foo();
  9. Foo() {}
  10. };