[Python-checkins] cpython (2.7): 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/eb25629d2a46
changeset: 93500:eb25629d2a46
branch: 2.7
parent: 93493:3537994fa43b
user: Serhiy Storchaka <storchaka at gmail.com>
date: Tue Nov 18 17:29:47 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
@@ -20,7 +20,7 @@
PyAPI_FUNC(int) PyNode_AddChild(node *n, int type,
char *str, int lineno, int col_offset);
PyAPI_FUNC(void) PyNode_Free(node *n);
-Py_ssize_t _PyNode_SizeOf(node *n);
+PyAPI_FUNC(Py_ssize_t) _PyNode_SizeOf(node *n);
/* Node access functions */
#define NCH(n) ((n)->n_nchildren)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list