| 1 |
#ifndef Py_INTERNAL_INTERPOLATION_H |
| 2 |
#define Py_INTERNAL_INTERPOLATION_H |
| 3 |
|
| 4 |
#ifdef __cplusplus |
| 5 |
extern "C" { |
| 6 |
#endif |
| 7 |
|
| 8 |
#ifndef Py_BUILD_CORE |
| 9 |
# error "this header requires Py_BUILD_CORE define" |
| 10 |
#endif |
| 11 |
|
| 12 |
extern PyTypeObject _PyInterpolation_Type; |
| 13 |
|
| 14 |
#define _PyInterpolation_CheckExact(op) Py_IS_TYPE((op), &_PyInterpolation_Type) |
| 15 |
|
| 16 |
PyAPI_FUNC(PyObject *) _PyInterpolation_Build(PyObject *value, PyObject *str, |
| 17 |
int conversion, PyObject *format_spec); |
| 18 |
|
| 19 |
extern PyStatus _PyInterpolation_InitTypes(PyInterpreterState *interp); |
| 20 |
extern PyObject *_PyInterpolation_GetValueRef(PyObject *interpolation); |
| 21 |
|
| 22 |
#ifdef __cplusplus |
| 23 |
} |
| 24 |
#endif |
| 25 |
|
| 26 |
#endif |