Extention Woes

Neal Norwitz nnorwitz at gmail.com
Wed Oct 19 23:56:00 EDT 2005


Tuvas wrote:
> Forgot, var declartions
>
>         int can_han;
>         int com;
>         char len;
>         char dat[8];

That should probably be:

     int len;
     char *dat;

IIRC, "z" returns the internal string pointer.  "#" is definitely not
going to return a char.  I'm pretty sure it returns an int and not a
long.

n




More information about the Python-list mailing list