mirror of
https://github.com/python/cpython.git
synced 2025-10-17 04:08:28 +00:00
Assertions key off NDEBUG
This commit is contained in:
parent
a44549a959
commit
3223dd5c22
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ typedef struct BLOCK {
|
|||
* block is freed leaving another existing block as the new endpoint.
|
||||
*/
|
||||
|
||||
#ifdef Py_DEBUG
|
||||
#ifndef NDEBUG
|
||||
#define MARK_END(link) link = NULL;
|
||||
#define CHECK_END(link) assert(link == NULL);
|
||||
#define CHECK_NOT_END(link) assert(link != NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue