15 lines
197 B
OpenEdge ABL
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(); }
|
|
};
|
|
}
|
|
%}
|
|
|