PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/arrays_scope.i

#
Swig | 19 lines | 15 code | 4 blank | 0 comment | 0 complexity | cb4672170f655135010ffeaa30dde849 MD5 | raw file
 1%module arrays_scope
 2
 3%inline %{
 4
 5enum { ASIZE = 256 };
 6namespace foo {
 7   enum { BBSIZE = 512 };
 8   class Bar {
 9   public:
10      enum { CCSIZE = 768 };
11      int  adata[ASIZE];
12      int  bdata[BBSIZE];
13      int  cdata[CCSIZE];
14      void blah(int x[ASIZE], int y[BBSIZE], int z[CCSIZE]) { };
15   };
16}
17
18%}
19