summaryrefslogtreecommitdiffstats
path: root/Include/node.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-11-18 15:30:15 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-11-18 15:30:15 (GMT)
commit60fe569673eecaffd4afccd9b4d8a2c2bb4df15e (patch)
tree7372f881ed6b7c9b2e4a8a9007018b71775a9905 /Include/node.h
parent66dd4aaa96a4d7c23b6e6c18c63f58258442784c (diff)
downloadcpython-60fe569673eecaffd4afccd9b4d8a2c2bb4df15e.zip
cpython-60fe569673eecaffd4afccd9b4d8a2c2bb4df15e.tar.gz
cpython-60fe569673eecaffd4afccd9b4d8a2c2bb4df15e.tar.bz2
Issue #18637: Fixed an error in _PyNode_SizeOf declaration.
Patch by Roumen Petrov.
Diffstat (limited to 'Include/node.h')
-rw-r--r--Include/node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/node.h b/Include/node.h
index 99c13f7..2e4e2ba 100644
--- a/Include/node.h
+++ b/Include/node.h
@@ -21,7 +21,7 @@ PyAPI_FUNC(int) PyNode_AddChild(node *n, int type,
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 */