Add Modules/_testcapi/util.h header (GH-108774)

It contains common macros used in C API tests.
This commit is contained in:
Serhiy Storchaka 2023-09-01 21:42:42 +03:00 committed by GitHub
parent 578ebc5d5f
commit 0e01fac315
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 49 additions and 94 deletions

View file

@ -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