[Python-checkins] cpython (3.4): Issue #18637: Fixed an error in _PyNode_SizeOf declaration.

serhiy.storchaka python-checkins at python.org
Tue Nov 18 16:48:58 CET 2014


https://hg.python.org/cpython/rev/ab3e8aab7119
changeset:   93501:ab3e8aab7119
branch:      3.4
parent:      93498:cf2e424e0413
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Tue Nov 18 17:30:15 2014 +0200
summary:
  Issue #18637: Fixed an error in _PyNode_SizeOf declaration.
Patch by Roumen Petrov.

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


diff --git a/Include/node.h b/Include/node.h
--- a/Include/node.h
+++ b/Include/node.h
@@ -21,7 +21,7 @@
                                       char *str, int lineno, int col_offset);
 PyAPI_FUNC(void) PyNode_Free(node *n);
 #ifndef Py_LIMITED_API
-Py_ssize_t _PyNode_SizeOf(node *n);
+PyAPI_FUNC(Py_ssize_t) _PyNode_SizeOf(node *n);
 #endif
 
 /* Node access functions */

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


More information about the Python-checkins mailing list