diff options
| author | Victor Stinner <vstinner@python.org> | 2023-07-25 03:16:28 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-25 03:16:28 (GMT) |
| commit | c5b13d6f80630d29bf5dca9cde53dfe15cf94f8b (patch) | |
| tree | 1d3be27a2555b8a616c5748a7e9f4a2dfbd995bd /Include/internal/pycore_structseq.h | |
| parent | 0d0520af834dc92035d54d302e67f50f86353d41 (diff) | |
| download | cpython-c5b13d6f80630d29bf5dca9cde53dfe15cf94f8b.zip cpython-c5b13d6f80630d29bf5dca9cde53dfe15cf94f8b.tar.gz cpython-c5b13d6f80630d29bf5dca9cde53dfe15cf94f8b.tar.bz2 | |
gh-107211: No longer export internal functions (4) (#107217)
No longer export these 2 internal C API functions:
* _PyEval_SignalAsyncExc()
* _PyEval_SignalReceived()
Add also comments explaining why some internal functions have to be
exported, and update existing comments.
Diffstat (limited to 'Include/internal/pycore_structseq.h')
| -rw-r--r-- | Include/internal/pycore_structseq.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Include/internal/pycore_structseq.h b/Include/internal/pycore_structseq.h index 6f5dfc1..5cff165 100644 --- a/Include/internal/pycore_structseq.h +++ b/Include/internal/pycore_structseq.h @@ -11,7 +11,8 @@ extern "C" { /* other API */ -PyAPI_FUNC(PyTypeObject *) _PyStructSequence_NewType( +// Export for '_curses' shared extension +PyAPI_FUNC(PyTypeObject*) _PyStructSequence_NewType( PyStructSequence_Desc *desc, unsigned long tp_flags); |
