swig/SWIG/Examples/test-suite/arrays_scope.i
Dave Beazley af475416bc fixed some OS-X name clashes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4774 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-07 22:38:00 +00:00

19 lines
305 B
OpenEdge ABL

%module arrays_scope
%inline %{
enum { ASIZE = 256 };
namespace foo {
enum { BSIZE = 512 };
class Bar {
public:
enum { CCSIZE = 768 };
int adata[ASIZE];
int bdata[BSIZE];
int cdata[CCSIZE];
void blah(int x[ASIZE], int y[BSIZE], int z[CCSIZE]) { };
};
}
%}