byte - Swig unsigned char* to short[] -
%apply (char* string,size_t length) { (char* databuffer, int size) }; this used convert char* byte[].
but need convert unsigned char* short[]
%apply (unsigned char* string,size_t length) { (unsigned char* databuffer, int size) }; this apply isn't working? how can fix it?
Comments
Post a Comment