On Tue, Nov 30, 2010 at 10:57 AM, Eric Frederich
wrote:
> I am not sure how to proceed.
> I am writing a Python interface to a C library.
> The C library uses structures.
> I was looking at the struct module but struct.unpack only seems to
> deal with data that was packed using struct.pack or some
I am not sure how to proceed.
I am writing a Python interface to a C library.
The C library uses structures.
I was looking at the struct module but struct.unpack only seems to
deal with data that was packed using struct.pack or some other buffer.
All I have is the struct itself, a pointer in C.
Is