2021-12-09 15:59:26 -04: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 11:38:57 -04:00
|
|
|
extern void _PySlice_Fini(_PyFreeListState *);
|
2021-12-09 15:59:26 -04:00
|
|
|
|
2022-06-27 08:24:23 -03:00
|
|
|
extern PyObject *
|
|
|
|
_PyBuildSlice_ConsumeRefs(PyObject *start, PyObject *stop);
|
2021-12-09 15:59:26 -04:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* !Py_INTERNAL_SLICEOBJECT_H */
|