Skip to content

Commit 4740d1b

Browse files
committed
Fix make check-c-globals
Complete USE_LIMITED_C_API list of the c-analyzer.
1 parent e2a7d7f commit 4740d1b

File tree

1 file changed

+7
-2
lines changed
  • Tools/c-analyzer/c_parser/preprocessor

1 file changed

+7
-2
lines changed

Tools/c-analyzer/c_parser/preprocessor/gcc.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,18 @@
33

44
from . import common as _common
55

6-
# The following C files must not be built with Py_BUILD_CORE,
7-
# because they use the limited C API.
6+
# The following C files defines the Py_LIMITED_API macro, and so must not be
7+
# built with the Py_BUILD_CORE macro defined.
88
USE_LIMITED_C_API = frozenset((
9+
# Modules/
910
'_testcapimodule.c',
1011
'_testclinic_limited.c',
1112
'xxlimited.c',
1213
'xxlimited_35.c',
14+
15+
# Modules/_testcapi/
16+
'heaptype_relative.c',
17+
'vectorcall_limited.c',
1318
))
1419

1520
TOOL = 'gcc'

0 commit comments

Comments
 (0)