update swig on windows

This commit is contained in:
Bassem Girgis
2019-08-04 21:38:19 -05:00
parent 8414b7136b
commit 76ad52be58
5943 changed files with 91790 additions and 71892 deletions

View File

@@ -0,0 +1,26 @@
%module java_lib_arrays_dimensionless
%include "arrays_java.i"
// Can't wrap dimensionless arrays, so we use the old pointer approach
%apply SWIGTYPE* { int globalints[], int constglobalints[], int Bar::ints[] }
// Test %apply for arrays in arrays_java.i library file
%apply bool [] { bool *array }
%apply char [] { char *array }
%apply signed char [] { signed char *array }
%apply unsigned char [] { unsigned char *array }
%apply short [] { short *array }
%apply unsigned short [] { unsigned short *array }
%apply int [] { int *array }
%apply unsigned int [] { unsigned int *array }
%apply long [] { long *array }
%apply unsigned long [] { unsigned long *array }
%apply long [] { long *array }
%apply unsigned long long [] { unsigned long long *array }
%apply float [] { float *array }
%apply double [] { double *array }
%include "arrays_dimensionless.i"