SWIG - float array in struct to c# - SWIGTYPE_p_float -


i have question. i'm trying use swig wrap native dll, contains struct looking this:

typedef struct {     int x;     float y[const1];     float z[const2]; } mystruct; 

and c# representation y , z not array, swigtype_p_float. there way tell swig interpret float y[const1] array, , not swigtype_p_float? have tried "memberin" , "typemap", no success. thanx in advanced...


Comments