diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2018-07-26 13:22:16 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-26 13:22:16 +0300 |
| commit | 7cb7bcff20a386bba59cbc51e2419542de358bd2 (patch) | |
| tree | f5d46faf7a7ddd3b427de7de8a74a1fb37fe2993 /Include | |
| parent | 323748ad7446c76972c80dbbf510534dc5c22ae8 (diff) | |
| download | cpython-git-7cb7bcff20a386bba59cbc51e2419542de358bd2.tar.gz | |
bpo-20260: Implement non-bitwise unsigned int converters for Argument Clinic. (GH-8434)
Diffstat (limited to 'Include')
| -rw-r--r-- | Include/longobject.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Include/longobject.h b/Include/longobject.h index 7bdd0472ba..82c06c92a6 100644 --- a/Include/longobject.h +++ b/Include/longobject.h @@ -65,6 +65,14 @@ PyAPI_FUNC(PyObject *) PyLong_GetInfo(void); # error "void* different in size from int, long and long long" #endif /* SIZEOF_VOID_P */ +#ifndef Py_LIMITED_API +PyAPI_FUNC(int) _PyLong_UnsignedShort_Converter(PyObject *, void *); +PyAPI_FUNC(int) _PyLong_UnsignedInt_Converter(PyObject *, void *); +PyAPI_FUNC(int) _PyLong_UnsignedLong_Converter(PyObject *, void *); +PyAPI_FUNC(int) _PyLong_UnsignedLongLong_Converter(PyObject *, void *); +PyAPI_FUNC(int) _PyLong_Size_t_Converter(PyObject *, void *); +#endif + /* Used by Python/mystrtoul.c, _PyBytes_FromHex(), _PyBytes_DecodeEscapeRecode(), etc. */ #ifndef Py_LIMITED_API |
