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

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


https://hg.python.org/cpython/rev/5b2edc905db4
changeset:   101200:5b2edc905db4
parent:      101198:634764b4675c
parent:      101199:4f5e4155c259
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Sun May 01 13:07:14 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);
 
@@ -75,7 +75,7 @@
 
    This function is signal safe. */
 
-PyAPI_DATA(const char*) _Py_DumpTracebackThreads(
+PyAPI_FUNC(const char*) _Py_DumpTracebackThreads(
     int fd,
     PyInterpreterState *interp,
     PyThreadState *current_tstate);

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


More information about the Python-checkins mailing list