What is the right SWIG typemap for the following function? void filter(int height, int width, unsigned int *input_array_2d, unsigned int *input_array_2d);
The input and output arrays are bi-dimensional. The input array is read-only and the output array is write-only. I tried something like: %apply (int DIM1, int DIM2, int* INPLACE_ARRAY2) {(int height, int width, int* input_array_2d), (int height, int width, int* input_array_2d)}; But it does not seem to be correct. Thank you!
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion