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

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

asp.net - Configuring WCF Services in Code WCF 4.5 -