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

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -