Skip to content

Commit 26cffa2

Browse files
committed
exports fix 8
1 parent 6b9df7f commit 26cffa2

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Doc/c-api/intro.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,8 @@ complete listing.
413413
Macro used to declare a public global variable.
414414
It expands to ``extern Py_EXPORTED_SYMBOL type`` or ``extern Py_IMPORTED_SYMBOL type``
415415
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.
416418

417419
Example usage::
418420

Tools/check-c-api-docs/ignored_c_api.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ Py_HasFileSystemDefaultEncoding
1818
Py_UTF8Mode
1919
# pyhash.h
2020
Py_HASH_EXTERNAL
21-
# exports.h
22-
PyAPI_DATA
23-
Py_EXPORTED_SYMBOL
24-
Py_IMPORTED_SYMBOL
25-
Py_LOCAL_SYMBOL
2621
# modsupport.h
2722
PyABIInfo_FREETHREADING_AGNOSTIC
2823
# moduleobject.h

0 commit comments

Comments
 (0)