mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-123484: Fix the debug offsets for PyLongObject (#123485)
This commit is contained in:
parent
103a0470e3
commit
7fca268bee
2 changed files with 4 additions and 2 deletions
|
@ -117,8 +117,8 @@ extern PyTypeObject _PyExc_MemoryError;
|
|||
}, \
|
||||
.long_object = { \
|
||||
.size = sizeof(PyLongObject), \
|
||||
.lv_tag = offsetof(_PyLongValue, lv_tag), \
|
||||
.ob_digit = offsetof(_PyLongValue, ob_digit), \
|
||||
.lv_tag = offsetof(PyLongObject, long_value.lv_tag), \
|
||||
.ob_digit = offsetof(PyLongObject, long_value.ob_digit), \
|
||||
}, \
|
||||
.bytes_object = { \
|
||||
.size = sizeof(PyBytesObject), \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue