/trunk/Examples/test-suite/arrays_scope.i
Swig | 19 lines | 15 code | 4 blank | 0 comment | 0 complexity | cb4672170f655135010ffeaa30dde849 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- %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]) { };
- };
- }
- %}