summaryrefslogtreecommitdiffstats
path: root/Include/cpython/longobject.h
blob: 57834173490c99b7db2c0e413b38d9aa6ddb2356 (plain)
1
2
3
4
5
6
7
8
9
#ifndef Py_CPYTHON_LONGOBJECT_H
#  error "this header file must not be included directly"
#endif

PyAPI_FUNC(PyObject*) PyLong_FromUnicodeObject(PyObject *u, int base);

PyAPI_FUNC(int) PyUnstable_Long_IsCompact(const PyLongObject* op);
PyAPI_FUNC(Py_ssize_t) PyUnstable_Long_CompactValue(const PyLongObject* op);