We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02a7034 commit 5a1529cCopy full SHA for 5a1529c
peps/pep-0757.rst
@@ -90,9 +90,6 @@ Export API
90
Export a Python integer as a digits array::
91
92
typedef struct PyLong_DigitArray {
93
- // Strong reference to the Python int object.
94
- PyObject *obj;
95
-
96
// 1 if the number is negative, 0 otherwise.
97
int negative;
98
@@ -101,6 +98,9 @@ Export a Python integer as a digits array::
101
102
99
// Read-only array of unsigned digits.
103
100
const void *digits;
+
+ // Member used internally, must not be used for other purpose.
+ Py_uintptr_t _reserved;
104
} PyLong_DigitArray;
105
106
PyAPI_FUNC(int) PyLong_AsDigitArray(
0 commit comments