summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-05-01 13:06:43 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2016-05-01 13:06:43 +0300
commitf5f37d784b4e3f0362291cad6155a19cdfffcb57 (patch)
tree70b3c7717f46208c83d8ffe98eeccc2600ab9778
parentd6e6f8b82960d1af5dfbe90af14568258401f203 (diff)
downloadcpython-git-f5f37d784b4e3f0362291cad6155a19cdfffcb57.tar.gz
Fixed declarations of _Py_DumpTraceback() and _Py_DumpTracebackThreads().
-rw-r--r--Include/traceback.h4
1 files changed, 2 insertions, 2 deletions
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);