Matt Clarke added the comment: Hi Amaury.
I have tried removing pack and using /Zp1, but it makes no difference. The size of callback_t and the one in C are 8 bytes. Thanks, Matt On 13 March 2013 13:19, Amaury Forgeot d'Arc <rep...@bugs.python.org> wrote: > > Amaury Forgeot d'Arc added the comment: > > Is "_pack_ = 1" correct? Did you compile your C library with /Zp1 or > similar? > Also check that ctypes.sizeof(callback_t) matches the one given by the C > compiler. > > ---------- > > _______________________________________ > Python tracker <rep...@bugs.python.org> > <http://bugs.python.org/issue17310> > _______________________________________ > ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17310> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com