2021-12-09 19:59:26 +00:00
|
|
|
#ifndef Py_INTERNAL_SLICEOBJECT_H
|
|
|
|
#define Py_INTERNAL_SLICEOBJECT_H
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef Py_BUILD_CORE
|
|
|
|
# error "this header requires Py_BUILD_CORE define"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* runtime lifecycle */
|
|
|
|
|
2024-01-15 15:38:57 +00:00
|
|
|
extern void _PySlice_Fini(_PyFreeListState *);
|
2021-12-09 19:59:26 +00:00
|
|
|
|
2022-06-27 11:24:23 +00:00
|
|
|
extern PyObject *
|
|
|
|
_PyBuildSlice_ConsumeRefs(PyObject *start, PyObject *stop);
|
2021-12-09 19:59:26 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* !Py_INTERNAL_SLICEOBJECT_H */
|