Neil Hodgson <nyamatongwe <at> gmail.com> writes:
>
> typedef union _gc_head {
> struct {
> union _gc_head *gc_next;
> union _gc_head *gc_prev;
> Py_ssize_t gc_refs;
> } gc;
> long double dummy; /* force worst-case alignment */
> double dummy2; /* in case long double doesn't trigger worst-case */
> } PyGC_Head;
We could add a PY_LONG_LONG to the mix just in case.
By the way, will this kind of thing be frozen by the PEP ABI?
Regards
Antoine.
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com