blob: bad6c147a67be28692528b842e7eadbb0b4512b3 [file] [log] [blame]
%module conversion
%rename(toFoo) Bar::operator Foo();
%inline %{
struct Foo {
};
struct Bar {
operator Foo () { return Foo(); }
};
%}