pycore_sliceobject.h 414 B

12345678910111213141516171819202122
  1. #ifndef Py_INTERNAL_SLICEOBJECT_H
  2. #define Py_INTERNAL_SLICEOBJECT_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #ifndef Py_BUILD_CORE
  7. # error "this header requires Py_BUILD_CORE define"
  8. #endif
  9. /* runtime lifecycle */
  10. extern void _PySlice_Fini(PyInterpreterState *);
  11. extern PyObject *
  12. _PyBuildSlice_ConsumeRefs(PyObject *start, PyObject *stop);
  13. #ifdef __cplusplus
  14. }
  15. #endif
  16. #endif /* !Py_INTERNAL_SLICEOBJECT_H */