summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-11-18 15:30:50 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-11-18 15:30:50 (GMT)
commit1eba04663efb517be1521b73ee732e05d8e96301 (patch)
treef79e9966c434dfbee639e69bc7a23ac3dbb8889f /Include
parent0ff742ce2bf95766886fe4265ab8c24f4f50bc0f (diff)
parent60fe569673eecaffd4afccd9b4d8a2c2bb4df15e (diff)
downloadcpython-1eba04663efb517be1521b73ee732e05d8e96301.zip
cpython-1eba04663efb517be1521b73ee732e05d8e96301.tar.gz
cpython-1eba04663efb517be1521b73ee732e05d8e96301.tar.bz2
Issue #18637: Fixed an error in _PyNode_SizeOf declaration.
Patch by Roumen Petrov.
Diffstat (limited to 'Include')
-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 */