swig/SWIG/Examples/test-suite/arrays_scope.i
Dave Beazley 516036631c The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00

19 lines
302 B
OpenEdge ABL

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