From f5f37d784b4e3f0362291cad6155a19cdfffcb57 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sun, 1 May 2016 13:06:43 +0300 Subject: Fixed declarations of _Py_DumpTraceback() and _Py_DumpTracebackThreads(). --- Include/traceback.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Include/traceback.h b/Include/traceback.h index 891000c..c3ecbe2 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); -- cgit v0.12