mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Issue #19976: Argument Clinic METH_NOARGS functions now always
take two parameters.
This commit is contained in:
parent
583a93943c
commit
3cceb38486
5 changed files with 150 additions and 31 deletions
|
|
@ -69,4 +69,10 @@
|
|||
/* Check if pointer "p" is aligned to "a"-bytes boundary. */
|
||||
#define _Py_IS_ALIGNED(p, a) (!((Py_uintptr_t)(p) & (Py_uintptr_t)((a) - 1)))
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define Py_UNUSED(name) _unused_ ## name __attribute__((unused))
|
||||
#else
|
||||
#define Py_UNUSED(name) _unused_ ## name
|
||||
#endif
|
||||
|
||||
#endif /* Py_PYMACRO_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue