You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
510 B
21 lines
510 B
#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
|
|
|
|
|
|
// Exported for the _interpchannels module.
|
|
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 */
|
|
|