Skip to content

Commit b608196

Browse files
Fixed declarations of _Py_DumpTraceback() and _Py_DumpTracebackThreads().
2 parents a257062 + f5f37d7 commit b608196

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

@@ -75,7 +75,7 @@ PyAPI_DATA(void) _Py_DumpTraceback(
7575
7676
This function is signal safe. */
7777

78-
PyAPI_DATA(const char*) _Py_DumpTracebackThreads(
78+
PyAPI_FUNC(const char*) _Py_DumpTracebackThreads(
7979
int fd,
8080
PyInterpreterState *interp,
8181
PyThreadState *current_tstate);

0 commit comments

Comments
 (0)