git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4774 626c5289-ae23-0410-ae9c-e8d60b6d4f22
19 lines
305 B
OpenEdge ABL
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]) { };
|
|
};
|
|
}
|
|
|
|
%}
|
|
|