diff options
author | Victor Stinner <vstinner@python.org> | 2023-07-19 11:07:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-19 11:07:40 (GMT) |
commit | a1a3193990cd6658c1fe859b88a2bc03971a16df (patch) | |
tree | a41678324e78f4d4df80590b251f7e47e669bc8e /Include/cpython | |
parent | 70b961ed93f67e34d0624e178f6029c886afaeee (diff) | |
download | cpython-a1a3193990cd6658c1fe859b88a2bc03971a16df.zip cpython-a1a3193990cd6658c1fe859b88a2bc03971a16df.tar.gz cpython-a1a3193990cd6658c1fe859b88a2bc03971a16df.tar.bz2 |
Export _PyEval_SetProfile() as a function, not data (#106887)
Diffstat (limited to 'Include/cpython')
-rw-r--r-- | Include/cpython/ceval.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cpython/ceval.h b/Include/cpython/ceval.h index a9616bd..5255d71 100644 --- a/Include/cpython/ceval.h +++ b/Include/cpython/ceval.h @@ -4,7 +4,7 @@ PyAPI_FUNC(void) PyEval_SetProfile(Py_tracefunc, PyObject *); PyAPI_FUNC(void) PyEval_SetProfileAllThreads(Py_tracefunc, PyObject *); -PyAPI_DATA(int) _PyEval_SetProfile(PyThreadState *tstate, Py_tracefunc func, PyObject *arg); +PyAPI_FUNC(int) _PyEval_SetProfile(PyThreadState *tstate, Py_tracefunc func, PyObject *arg); PyAPI_FUNC(void) PyEval_SetTrace(Py_tracefunc, PyObject *); PyAPI_FUNC(void) PyEval_SetTraceAllThreads(Py_tracefunc, PyObject *); PyAPI_FUNC(int) _PyEval_SetTrace(PyThreadState *tstate, Py_tracefunc func, PyObject *arg); |