%apply signed char *INPUT { unsigned char *string1 }; %apply signed char *OUTPUT { unsigned char *string2 };