
March 26, 2019
3:02 p.m.
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!
2180
Age (days ago)
2180
Last active (days ago)
0 comments
1 participants
participants (1)
-
Giuseppe Di Guglielmo