summaryrefslogtreecommitdiffstats
path: root/Include/cpython/longobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/cpython/longobject.h')
-rw-r--r--Include/cpython/longobject.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Include/cpython/longobject.h b/Include/cpython/longobject.h
index c581f51..c96f351 100644
--- a/Include/cpython/longobject.h
+++ b/Include/cpython/longobject.h
@@ -2,7 +2,8 @@
# error "this header file must not be included directly"
#endif
-PyAPI_FUNC(int) _PyLong_AsInt(PyObject *);
+// Alias for backport compatibility
+#define _PyLong_AsInt PyLong_AsInt
PyAPI_FUNC(int) _PyLong_UnsignedShort_Converter(PyObject *, void *);
PyAPI_FUNC(int) _PyLong_UnsignedInt_Converter(PyObject *, void *);