diff options
author | David Hewitt <1939362+davidhewitt@users.noreply.github.com> | 2022-10-31 14:01:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-31 14:01:32 (GMT) |
commit | e98923c0be644c474ce0e318d40e0595e4484106 (patch) | |
tree | 2567dac3a484b51f2e0fa3690ea091182efa2b89 /Include/cpython | |
parent | a41de32942b7ac14524587a08d219f3bfe346415 (diff) | |
download | cpython-e98923c0be644c474ce0e318d40e0595e4484106.zip cpython-e98923c0be644c474ce0e318d40e0595e4484106.tar.gz cpython-e98923c0be644c474ce0e318d40e0595e4484106.tar.bz2 |
gh-98410: move getbufferproc and releasebufferproc to buffer.h (#31158)
This adds them to the Limited API.
Diffstat (limited to 'Include/cpython')
-rw-r--r-- | Include/cpython/object.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Include/cpython/object.h b/Include/cpython/object.h index 900b523..fa0cfb2 100644 --- a/Include/cpython/object.h +++ b/Include/cpython/object.h @@ -51,10 +51,6 @@ typedef struct _Py_Identifier { #endif /* NEEDS_PY_IDENTIFIER */ -typedef int (*getbufferproc)(PyObject *, Py_buffer *, int); -typedef void (*releasebufferproc)(PyObject *, Py_buffer *); - - typedef struct { /* Number implementations must check *both* arguments for proper type and implement the necessary conversions |