swig/Examples/test-suite/namespace_spaces.i
Dave Beazley f5d3cbda02 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4976 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-07 15:45:27 +00:00

19 lines
318 B
OpenEdge ABL

%module namespace_spaces
%inline %{
class Foo {
public:
typedef int Integer;
int blah(int x);
int spam(int x);
Integer bar(Integer x);
};
inline int Foo
::blah(int x) { return 2*x; }
inline int Foo :: spam(int x) { return -x; }
inline Foo :: Integer Foo :: bar(Foo :: Integer x) { return x; }
%}