diff options
author | Victor Stinner <vstinner@python.org> | 2024-07-10 13:47:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-10 13:47:08 (GMT) |
commit | ca0fb3423c13822d909d75eb616ecf1965e619ae (patch) | |
tree | 4954f9c13072caba730b71f1bd852f054bcb763a /Include/cpython | |
parent | 84a5597b08b7d53aced2fbd0048271ce762807a8 (diff) | |
download | cpython-ca0fb3423c13822d909d75eb616ecf1965e619ae.zip cpython-ca0fb3423c13822d909d75eb616ecf1965e619ae.tar.gz cpython-ca0fb3423c13822d909d75eb616ecf1965e619ae.tar.bz2 |
gh-89364: Export PySignal_SetWakeupFd() function (#121537)
Export the PySignal_SetWakeupFd() function. Previously, the function
was documented but it couldn't be used in 3rd party code.
Diffstat (limited to 'Include/cpython')
-rw-r--r-- | Include/cpython/pyerrors.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cpython/pyerrors.h b/Include/cpython/pyerrors.h index 42b4b03..b36b468 100644 --- a/Include/cpython/pyerrors.h +++ b/Include/cpython/pyerrors.h @@ -100,7 +100,7 @@ PyAPI_FUNC(PyObject*) PyUnstable_Exc_PrepReraiseStar( /* In signalmodule.c */ -int PySignal_SetWakeupFd(int fd); +PyAPI_FUNC(int) PySignal_SetWakeupFd(int fd); /* Support for adding program text to SyntaxErrors */ |