Mercurial > cpython-lru_cache-weakref
diff Include/longobject.h @ 4870:68f4134869db legacy-trunk
Added PyLong_FromUnsignedLong() and PyLong_AsUnsignedLong().
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 03 Jan 1997 17:14:46 +0000 |
| parents | 65d2d8e67da3 |
| children | bd47ee068b83 |
line wrap: on
line diff
--- a/Include/longobject.h Fri Jan 03 16:01:20 1997 +0000 +++ b/Include/longobject.h Fri Jan 03 17:14:46 1997 +0000 @@ -44,8 +44,10 @@ #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));
