This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Matt.Clarke
Recipients Matt.Clarke, amaury.forgeotdarc, meador.inge
Date 2013-03-18.11:15:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAHVc1YPRbkZeqr1OTns=tANt1VvhzKvpibNRqrQAqVFVbix-cw@mail.gmail.com>
In-reply-to <1363180798.92.0.964733025534.issue17310@psf.upfronthosting.co.za>
Content
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 <report@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 <report@bugs.python.org>
> <http://bugs.python.org/issue17310>
> _______________________________________
>
History
Date User Action Args
2013-03-18 11:15:04Matt.Clarkesetrecipients: + Matt.Clarke, amaury.forgeotdarc, meador.inge
2013-03-18 11:15:04Matt.Clarkelinkissue17310 messages
2013-03-18 11:15:04Matt.Clarkecreate