summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-04 19:58:13 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-04 19:58:13 (GMT)
commit4281cef2057e24384a1d59b6bcf9e9161fde26e8 (patch)
treee0fd65002e09aa925f4a4594586e2fb471775e5e /Include
parent9589ee276a7c863b137ee925e9e50745ef594b98 (diff)
downloadcpython-4281cef2057e24384a1d59b6bcf9e9161fde26e8.zip
cpython-4281cef2057e24384a1d59b6bcf9e9161fde26e8.tar.gz
cpython-4281cef2057e24384a1d59b6bcf9e9161fde26e8.tar.bz2
Use Py_ssize_t for _Py_RefTotal.
I tried to handle Win64 properly, but please review.
Diffstat (limited to 'Include')
-rw-r--r--Include/object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/object.h b/Include/object.h
index 5db92db..2eb2b44 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -568,7 +568,7 @@ environment the global variable trick is not safe.)
* #ifdefs (we used to do that -- it was impenetrable).
*/
#ifdef Py_REF_DEBUG
-PyAPI_DATA(long) _Py_RefTotal;
+PyAPI_DATA(Py_ssize_t) _Py_RefTotal;
PyAPI_FUNC(void) _Py_NegativeRefcount(const char *fname,
int lineno, PyObject *op);
#define _Py_INC_REFTOTAL _Py_RefTotal++