swig/Examples/test-suite/using2.i
Marcelo Matus bd4b9c20ce add infinity loop case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7298 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 01:10:10 +00:00

27 lines
334 B
OpenEdge ABL

%module using2
%warnfilter(315);
using ::baz;
%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; }
%}