mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
GH-101291: Refactor the PyLongObject struct into object header and PyLongValue struct. (GH-101292)
This commit is contained in:
parent
f5a3d91b6c
commit
c1b1f51cd1
13 changed files with 226 additions and 217 deletions
|
|
@ -195,11 +195,11 @@ PyTypeObject PyBool_Type = {
|
|||
/* The objects representing bool values False and True */
|
||||
|
||||
struct _longobject _Py_FalseStruct = {
|
||||
PyVarObject_HEAD_INIT(&PyBool_Type, 0)
|
||||
{ 0 }
|
||||
PyObject_HEAD_INIT(&PyBool_Type)
|
||||
{ 0, { 0 } }
|
||||
};
|
||||
|
||||
struct _longobject _Py_TrueStruct = {
|
||||
PyVarObject_HEAD_INIT(&PyBool_Type, 1)
|
||||
{ 1 }
|
||||
PyObject_HEAD_INIT(&PyBool_Type)
|
||||
{ 1, { 1 } }
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue