Thanks to visit codestin.com Credit goes to github.com
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 68bc4f9 commit e36dce6Copy full SHA for e36dce6
1 file changed
Include/object.h
@@ -77,7 +77,7 @@ whose size is determined when the object is allocated.
77
/* PyObject_HEAD defines the initial segment of every PyObject. */
78
#define PyObject_HEAD \
79
_PyObject_HEAD_EXTRA \
80
- int ob_refcnt; \
+ Py_ssize_t ob_refcnt; \
81
struct _typeobject *ob_type;
82
83
#define PyObject_HEAD_INIT(type) \
@@ -333,9 +333,9 @@ typedef struct _typeobject {
333
334
#ifdef COUNT_ALLOCS
335
/* these must be last and never explicitly initialized */
336
- int tp_allocs;
337
- int tp_frees;
338
- int tp_maxalloc;
+ Py_ssize_t tp_allocs;
+ Py_ssize_t tp_frees;
+ Py_ssize_t tp_maxalloc;
339
struct _typeobject *tp_next;
340
#endif
341
} PyTypeObject;
0 commit comments