We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b9df7f commit 26cffa2Copy full SHA for 26cffa2
2 files changed
Doc/c-api/intro.rst
@@ -413,6 +413,8 @@ complete listing.
413
Macro used to declare a public global variable.
414
It expands to ``extern Py_EXPORTED_SYMBOL type`` or ``extern Py_IMPORTED_SYMBOL type``
415
depending on whether the core is being built or used.
416
+ This macro is intended for defining CPython's C API itself;
417
+ extension modules should not use it for their own symbols.
418
419
Example usage::
420
Tools/check-c-api-docs/ignored_c_api.txt
@@ -18,11 +18,6 @@ Py_HasFileSystemDefaultEncoding
18
Py_UTF8Mode
19
# pyhash.h
20
Py_HASH_EXTERNAL
21
-# exports.h
22
-PyAPI_DATA
23
-Py_EXPORTED_SYMBOL
24
-Py_IMPORTED_SYMBOL
25
-Py_LOCAL_SYMBOL
26
# modsupport.h
27
PyABIInfo_FREETHREADING_AGNOSTIC
28
# moduleobject.h
0 commit comments