On Mon, Jan 18, 2010 at 10:33 AM, Gabriele Modena
<gabriele.mod...@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?

Solved.
The answer was in the doc:
http://docs.python.org/library/ctypes.html#structured-data-types
(_fields_ & _pack_).
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to