25 Jul
2009
25 Jul
'09
10:22 a.m.
Why is that difficult? It's sizeof(PyGC_Head).
Is it enough to correctly propagate the alignment for, say, a long double in the following PyObject? I'm sorry, I'm not enough of a C lawyer.
Yes, sizeof must always be a multiple of the alignment. Otherwise, array elements would be misaligned. Regards, Martin