blob: 9819161426fdb456d6d9ed2d7be675c53c1f8eae [file] [log] [blame]
%module namespace_spaces
%inline %{
class Foo {
public:
Foo();
~Foo();
typedef int Integer;
int blah(int x);
int spam(int x);
Integer bar(Integer x);
void (Foo:: *func_ptr) (int);
};
inline Foo :: Foo () {}
inline Foo :: ~Foo () {}
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; }
%}