git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
22 lines
299 B
OpenEdge ABL
22 lines
299 B
OpenEdge ABL
%module using2
|
|
|
|
%warnfilter(801) X::_FooImpl; /* Ruby, wrong class name */
|
|
|
|
%inline %{
|
|
|
|
namespace X {
|
|
typedef int Integer;
|
|
|
|
class _FooImpl {
|
|
public:
|
|
typedef Integer value_type;
|
|
};
|
|
typedef _FooImpl Foo;
|
|
}
|
|
|
|
namespace Y = X;
|
|
using Y::Foo;
|
|
|
|
int spam(Foo::value_type x) { return x; }
|
|
|
|
%}
|