From: Serhiy Storchaka <storchaka@gmail.com> Date: Sun, 1 May 2016 10:06:43 +0000 (+0300) Subject: Fixed declarations of _Py_DumpTraceback() and _Py_DumpTracebackThreads(). X-Git-Tag: v3.6.0a1~89^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f5f37d784b4e3f0362291cad6155a19cdfffcb57;p=python Fixed declarations of _Py_DumpTraceback() and _Py_DumpTracebackThreads(). --- diff --git a/Include/traceback.h b/Include/traceback.h index 891000c8fe..c3ecbe296f 100644 --- a/Include/traceback.h +++ b/Include/traceback.h @@ -48,7 +48,7 @@ PyAPI_DATA(PyTypeObject) PyTraceBack_Type; This function is signal safe. */ -PyAPI_DATA(void) _Py_DumpTraceback( +PyAPI_FUNC(void) _Py_DumpTraceback( int fd, PyThreadState *tstate); @@ -62,7 +62,7 @@ PyAPI_DATA(void) _Py_DumpTraceback( This function is signal safe. */ -PyAPI_DATA(const char*) _Py_DumpTracebackThreads( +PyAPI_FUNC(const char*) _Py_DumpTracebackThreads( int fd, PyInterpreterState *interp, PyThreadState *current_thread);