2023-10-09 10:39:51 -03:00
|
|
|
#ifndef Py_INTERNAL_PYBUFFER_H
|
|
|
|
#define Py_INTERNAL_PYBUFFER_H
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef Py_BUILD_CORE
|
|
|
|
# error "this header requires Py_BUILD_CORE define"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2024-04-24 13:18:24 -03:00
|
|
|
// Exported for the _interpchannels module.
|
2023-10-09 10:39:51 -03:00
|
|
|
PyAPI_FUNC(int) _PyBuffer_ReleaseInInterpreter(
|
|
|
|
PyInterpreterState *interp, Py_buffer *view);
|
|
|
|
PyAPI_FUNC(int) _PyBuffer_ReleaseInInterpreterAndRawFree(
|
|
|
|
PyInterpreterState *interp, Py_buffer *view);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* !Py_INTERNAL_PYBUFFER_H */
|