Hello,

How does Python deal with C type memory buffers. Does Python return
everything as an object irrespective of the data type?

Here's what i am trying to achieve?

testCode(unsigned char buf, unsigned long len)
{
    unsigned long data=0x0;
    while (len--)
    {
        *buf++ = (unsigned char)data++
    }
    ....
}

What's the best way to deal with this in python?

-Joe

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to