PageRenderTime 7ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/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%{
 4struct Foo {
 5    Foo() {}
 6};
 7%}
 8
 9struct Foo {
10    %rename(RenamedConstructor) Foo();
11    Foo() {}
12};