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

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -