On Sep 13, 6:45 am, "Aaron \"Castironpi\" Brady"
<[EMAIL PROTECTED]> wrote:
> On Sep 12, 6:38 pm, [EMAIL PROTECTED] wrote:
>
>
>
>
>
>
>
> > Hello!
>
> > I wanted to get the full contents of a character array stored in a
> > struct, i.e.
> > _fields_ = [...("array", c_char * 12)...]
> > however,cty
Hello!
I wanted to get the full contents of a character array stored in a
struct, i.e.
_fields_ = [...("array", c_char * 12)...]
however, ctypes seems to try to return struct.array as a Python string
rather than a character array, and stops as soon as it encounters a
null within the character arra