This changes the behavior of arrays and pointers of fundamental types to be consistent with other SWIG languages. Notably, raw pointers are wrapped as opaque classes, since the same pointer could signify single elements or arrays. Arrays are treated the same.
Fortran-like array interaction can be restored using <typemaps.i> and applying the SWIGTYPE ARRAY to the desired variables.
This changes the behavior of arrays and pointers of fundamental types to be consistent with other SWIG languages. Notably, raw pointers are wrapped as opaque classes, since the same pointer could signify single elements or arrays. Arrays are treated the same.
Fortran-like array interaction can be restored using
<typemaps.i>
and applying theSWIGTYPE ARRAY
to the desired variables.