mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-46670: Remove unused macros in the Objects directory (GH-31193)
This commit is contained in:
parent
4f1d3f33dd
commit
760349198d
4 changed files with 0 additions and 12 deletions
|
@ -67,14 +67,6 @@ class memoryview "PyMemoryViewObject *" "&PyMemoryView_Type"
|
|||
*/
|
||||
|
||||
|
||||
#define CHECK_MBUF_RELEASED(mbuf) \
|
||||
if (((_PyManagedBufferObject *)mbuf)->flags&_Py_MANAGED_BUFFER_RELEASED) { \
|
||||
PyErr_SetString(PyExc_ValueError, \
|
||||
"operation forbidden on released memoryview object"); \
|
||||
return NULL; \
|
||||
}
|
||||
|
||||
|
||||
static inline _PyManagedBufferObject *
|
||||
mbuf_alloc(void)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue