Skip to content

Commit f5f37d7

Browse files
Fixed declarations of _Py_DumpTraceback() and _Py_DumpTracebackThreads().
1 parent d6e6f8b commit f5f37d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Include/traceback.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ PyAPI_DATA(PyTypeObject) PyTraceBack_Type;
4848
4949
This function is signal safe. */
5050

51-
PyAPI_DATA(void) _Py_DumpTraceback(
51+
PyAPI_FUNC(void) _Py_DumpTraceback(
5252
int fd,
5353
PyThreadState *tstate);
5454

@@ -62,7 +62,7 @@ PyAPI_DATA(void) _Py_DumpTraceback(
6262
6363
This function is signal safe. */
6464

65-
PyAPI_DATA(const char*) _Py_DumpTracebackThreads(
65+
PyAPI_FUNC(const char*) _Py_DumpTracebackThreads(
6666
int fd, PyInterpreterState *interp,
6767
PyThreadState *current_thread);
6868

0 commit comments

Comments
 (0)