mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Add Modules/_testcapi/util.h header (GH-108774)
It contains common macros used in C API tests.
This commit is contained in:
parent
578ebc5d5f
commit
0e01fac315
7 changed files with 49 additions and 94 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#include "parts.h"
|
||||
#include "util.h"
|
||||
#include "clinic/exceptions.c.h"
|
||||
|
||||
#define NULLABLE(x) do { if (x == Py_None) x = NULL; } while (0);
|
||||
|
||||
/*[clinic input]
|
||||
module _testcapi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue