ctypes: nested structures and pointers
gabriele.modena at gmail.com
Mon Jan 18 18:25:20 CET 2010
On Mon, Jan 18, 2010 at 10:33 AM, Gabriele Modena
<gabriele.modena at gmail.com> wrote:
> 1. what is the correct (pythonic) way to capture the prototype
> definition of dev_callbacks and the relation between that structure
> and dev_info?
> 2. is it correct to wrap "connect", "transceive" and "disconnect" in
> separate structures and reference them within pyDEV_CALLBACKS?
The answer was in the doc:
(_fields_ & _pack_).
More information about the Python-list