summaryrefslogtreecommitdiffstats
path: root/Include/longobject.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-08-04 22:46:29 (GMT)
committerGuido van Rossum <guido@python.org>1998-08-04 22:46:29 (GMT)
commit1a8791e0b875df8e9428c2d9969f64e5967ac0b4 (patch)
tree4c0a38c8dbfc45a9b2d7343c17c4a969a8718162 /Include/longobject.h
parent7d896ab1bbd5e15be7ae9203ead47f4f500a6a81 (diff)
downloadcpython-1a8791e0b875df8e9428c2d9969f64e5967ac0b4.zip
cpython-1a8791e0b875df8e9428c2d9969f64e5967ac0b4.tar.gz
cpython-1a8791e0b875df8e9428c2d9969f64e5967ac0b4.tar.bz2
Changes for BeOS, QNX and long long, by Chris Herborth.
Diffstat (limited to 'Include/longobject.h')
-rw-r--r--Include/longobject.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Include/longobject.h b/Include/longobject.h
index 88854a6..774bfda 100644
--- a/Include/longobject.h
+++ b/Include/longobject.h
@@ -50,6 +50,13 @@ extern long PyLong_AsLong Py_PROTO((PyObject *));
extern unsigned long PyLong_AsUnsignedLong Py_PROTO((PyObject *));
extern double PyLong_AsDouble Py_PROTO((PyObject *));
+#ifdef HAVE_LONG_LONG
+extern PyObject *PyLong_FromLongLong Py_PROTO((long long ));
+extern PyObject *PyLong_FromUnsignedLongLong Py_PROTO((unsigned long long));
+extern long long PyLong_AsLongLong Py_PROTO((PyObject *));
+extern unsigned long long PyLong_AsUnsignedLongLong Py_PROTO((PyObject *));
+#endif
+
PyObject *PyLong_FromString Py_PROTO((char *, char **, int));
#ifdef __cplusplus