Files
cpp-thirdparty/winx64/bin/swig-3.0.12/Examples/test-suite/conversion_namespace.i
Bassem Girgis 81b4b9e273 Initial commit
2018-12-20 17:34:07 -06:00

15 lines
197 B
OpenEdge ABL

%module conversion_namespace
%rename(toFoo) oss::Bar::operator Foo();
%inline %{
namespace oss
{
struct Foo {
};
struct Bar {
operator Foo () { return Foo(); }
};
}
%}