summaryrefslogtreecommitdiff
path: root/Examples/test-suite/arrays_scope.i
blob: efde11e59c0211913a98115001b10d8d64a9e8a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
%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]) { };
   };
}

%}