summaryrefslogtreecommitdiffstats
path: root/Include/traceback.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-05-01 10:07:14 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-05-01 10:07:14 (GMT)
commitb608196b20483ef69fab0383e61d3e53aed04ece (patch)
tree413769b185979f3ff4304b2e1aa2f5058a32f740 /Include/traceback.h
parenta2570626c8f2ff74caa558a20cc975dde6752f47 (diff)
parentf5f37d784b4e3f0362291cad6155a19cdfffcb57 (diff)
downloadcpython-b608196b20483ef69fab0383e61d3e53aed04ece.zip
cpython-b608196b20483ef69fab0383e61d3e53aed04ece.tar.gz
cpython-b608196b20483ef69fab0383e61d3e53aed04ece.tar.bz2
Fixed declarations of _Py_DumpTraceback() and _Py_DumpTracebackThreads().
Diffstat (limited to 'Include/traceback.h')
-rw-r--r--Include/traceback.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/traceback.h b/Include/traceback.h
index f767ea8..dbc769b 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);
@@ -75,7 +75,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_tstate);