12 Oct
2006
12 Oct
'06
12:37 p.m.
Armin Rigo wrote:
NoddyType = PyType_Setup("noddy.Noddy", sizeof(Noddy));
It doesn't address the problem Martin explained (you can put neither NULLs nor stubs in tp_xxx fields that are beyond the C extension module's sizeof(Nobby)). But I imagine it could with a bit more tweaking.
umm. last time I checked, the tp fields lived in the type object, not in the instance. </F>