1
 %apply (char* STRING,size_t LENGTH)
 {
         (char* dataBuffer, int size)
 };

这用于转换char*byte[].

但我需要转换unsigned char*short[]

 %apply (unsigned char* STRING,size_t LENGTH)
 {
        (unsigned char* dataBuffer, int size)
 }; 

这个申请不行吗?我该如何解决?

4

0 回答 0