[Python-checkins] cpython (3.5): Fixed declarations of _Py_DumpTraceback() and _Py_DumpTracebackThreads().

serhiy.storchaka python-checkins at python.org
Sun May 1 06:07:34 EDT 2016


https://hg.python.org/cpython/rev/4f5e4155c259
changeset:   101199:4f5e4155c259
branch:      3.5
parent:      101197:469bc90e8922
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Sun May 01 13:06:43 2016 +0300
summary:
  Fixed declarations of _Py_DumpTraceback() and _Py_DumpTracebackThreads().

files:
  Include/traceback.h |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Include/traceback.h b/Include/traceback.h
--- a/Include/traceback.h
+++ b/Include/traceback.h
@@ -48,7 +48,7 @@
 
    This function is signal safe. */
 
-PyAPI_DATA(void) _Py_DumpTraceback(
+PyAPI_FUNC(void) _Py_DumpTraceback(
     int fd,
     PyThreadState *tstate);
 
@@ -62,7 +62,7 @@
 
    This function is signal safe. */
 
-PyAPI_DATA(const char*) _Py_DumpTracebackThreads(
+PyAPI_FUNC(const char*) _Py_DumpTracebackThreads(
     int fd, PyInterpreterState *interp,
     PyThreadState *current_thread);
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list