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
19 lines
308 B
OpenEdge ABL
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]) { };
|
|
};
|
|
}
|
|
|
|
%}
|
|
|