swig/Examples/test-suite/arrays_scope.i
Olly Betts 42965a73cc Rename BSIZE in Examples/test-suite/arrays_scope.i to BBSIZE to avoid
a clash with BSIZE defined by headers on AIX with Perl (reported in
SF#1928048).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10386 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-24 11:07:56 +00:00

19 lines
308 B
OpenEdge ABL

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