[issue18060] Updating _fields_ of a derived struct type yields a bad cif

2019-05-14 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: The current behavior, stgdict->length = len; sets the number of elements in the class excluding its base classes. The new behavior of stgdict->length = ffi_ofs + len; sets the total number of elements in both the class and its base c

[issue18060] Updating _fields_ of a derived struct type yields a bad cif

2019-05-16 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: The t1.py test case calls both PyCStructUnionType_update_stgdict() and PyCStgDict_clone(), both of which are broken. The test case in t2.py is simpler than t1.py in that it only calls PyCStructUnionType_update_stgdict(). PyCStructUnionType_update_stgdict

<    1   2   3