Debian Codegraph @

Include/internal/pycore_pybuffer.h

raw
1 #ifndef Py_INTERNAL_PYBUFFER_H
2 #define Py_INTERNAL_PYBUFFER_H
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6
7 #ifndef Py_BUILD_CORE
8 # error "this header requires Py_BUILD_CORE define"
9 #endif
10
11
12 // Exported for the _interpchannels module.
13 PyAPI_FUNC(int) _PyBuffer_ReleaseInInterpreter(
14 PyInterpreterState *interp, Py_buffer *view);
15 PyAPI_FUNC(int) _PyBuffer_ReleaseInInterpreterAndRawFree(
16 PyInterpreterState *interp, Py_buffer *view);
17
18 #ifdef __cplusplus
19 }
20 #endif
21 #endif /* !Py_INTERNAL_PYBUFFER_H */