mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Issue #21490: Add new C macros: Py_ABS() and Py_STRINGIFY()
Keep _Py_STRINGIZE() in PC/pyconfig.h to not introduce a dependency between pyconfig.h and pymacros.h.
This commit is contained in:
parent
79b49ab553
commit
45e8e2f218
7 changed files with 60 additions and 59 deletions
|
@ -16,9 +16,6 @@ static void raw_free(void *ptr);
|
|||
# define TRACE_DEBUG
|
||||
#endif
|
||||
|
||||
#define _STR(VAL) #VAL
|
||||
#define STR(VAL) _STR(VAL)
|
||||
|
||||
/* Protected by the GIL */
|
||||
static struct {
|
||||
PyMemAllocator mem;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue