From: Victor Stinner Date: Wed, 19 Jul 2023 11:07:40 +0000 (+0200) Subject: Export _PyEval_SetProfile() as a function, not data (#106887) X-Git-Tag: v3.13.0a1~1340 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a1a3193990cd6658c1fe859b88a2bc03971a16df;p=thirdparty%2FPython%2Fcpython.git Export _PyEval_SetProfile() as a function, not data (#106887) --- diff --git a/Include/cpython/ceval.h b/Include/cpython/ceval.h index a9616bd6a4f5..5255d715142b 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);