summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-05-01 10:06:43 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-05-01 10:06:43 (GMT)
commitf5f37d784b4e3f0362291cad6155a19cdfffcb57 (patch)
tree70b3c7717f46208c83d8ffe98eeccc2600ab9778 /Include
parentd6e6f8b82960d1af5dfbe90af14568258401f203 (diff)
downloadcpython-f5f37d784b4e3f0362291cad6155a19cdfffcb57.zip
cpython-f5f37d784b4e3f0362291cad6155a19cdfffcb57.tar.gz
cpython-f5f37d784b4e3f0362291cad6155a19cdfffcb57.tar.bz2
Fixed declarations of _Py_DumpTraceback() and _Py_DumpTracebackThreads().
Diffstat (limited to 'Include')
-rw-r--r--Include/traceback.h4
1 files 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);