summaryrefslogtreecommitdiffstats
path: root/Include/longobject.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-01-03 17:14:46 (GMT)
committerGuido van Rossum <guido@python.org>1997-01-03 17:14:46 (GMT)
commit53756b1097805e6a7910a1788d6eb7cb190864ba (patch)
treeb641682e2e8347bd7437f5d1ae47ac1e93813990 /Include/longobject.h
parent461a1c172f6e7f053da03ee39a9b762cb173ce68 (diff)
downloadcpython-53756b1097805e6a7910a1788d6eb7cb190864ba.zip
cpython-53756b1097805e6a7910a1788d6eb7cb190864ba.tar.gz
cpython-53756b1097805e6a7910a1788d6eb7cb190864ba.tar.bz2
Added PyLong_FromUnsignedLong() and PyLong_AsUnsignedLong().
Diffstat (limited to 'Include/longobject.h')
-rw-r--r--Include/longobject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/longobject.h b/Include/longobject.h
index d4bcbad..88854a6 100644
--- a/Include/longobject.h
+++ b/Include/longobject.h
@@ -44,8 +44,10 @@ extern DL_IMPORT(PyTypeObject) PyLong_Type;
#define PyLong_Check(op) ((op)->ob_type == &PyLong_Type)
extern PyObject *PyLong_FromLong Py_PROTO((long));
+extern PyObject *PyLong_FromUnsignedLong Py_PROTO((unsigned long));
extern PyObject *PyLong_FromDouble Py_PROTO((double));
extern long PyLong_AsLong Py_PROTO((PyObject *));
+extern unsigned long PyLong_AsUnsignedLong Py_PROTO((PyObject *));
extern double PyLong_AsDouble Py_PROTO((PyObject *));
PyObject *PyLong_FromString Py_PROTO((char *, char **, int));