Include/internal/pycore_sliceobject.h
raw| 1 | #ifndef Py_INTERNAL_SLICEOBJECT_H |
| 2 | #define Py_INTERNAL_SLICEOBJECT_H |
| 3 | #ifdef __cplusplus |
| 4 | extern "C" { |
| 5 | #endif |
| 6 | |
| 7 | #ifndef Py_BUILD_CORE |
| 8 | # error "this header requires Py_BUILD_CORE define" |
| 9 | #endif |
| 10 | |
| 11 | |
| 12 | /* runtime lifecycle */ |
| 13 | |
| 14 | PyAPI_FUNC(PyObject *) |
| 15 | _PyBuildSlice_ConsumeRefs(PyObject *start, PyObject *stop); |
| 16 | |
| 17 | #ifdef __cplusplus |
| 18 | } |
| 19 | #endif |
| 20 | #endif /* !Py_INTERNAL_SLICEOBJECT_H */ |