update swig on windows
This commit is contained in:
19
winx64/bin/swigwin-4.0.0/Examples/test-suite/arrays_scope.i
Normal file
19
winx64/bin/swigwin-4.0.0/Examples/test-suite/arrays_scope.i
Normal file
@@ -0,0 +1,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]) { };
|
||||
};
|
||||
}
|
||||
|
||||
%}
|
||||
|
||||
Reference in New Issue
Block a user