7.4.2 Long Integer Objects
- PyLongObject
-
This subtype of PyObject represents a Python long integer
object.
- PyTypeObject PyLong_Type
-
This instance of PyTypeObject represents the Python long
integer type.
- int PyLong_Check(PyObject *p)
-
Returns true if its argument is a PyLongObject.
- PyObject* PyLong_FromLong(long v)
-
- PyObject* PyLong_FromUnsignedLong(unsigned long v)
-
- PyObject* PyLong_FromDouble(double v)
-
- long PyLong_AsLong(PyObject *pylong)
-
- unsigned long PyLong_AsUnsignedLong(PyObject *pylong)
-
- double PyLong_AsDouble(PyObject *pylong)
-
- PyObject* PyLong_FromString(char *str, char **pend,
int base)
-
guido@python.org