summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2012-08-03 12:25:53 (GMT)
committerJesus Cea <jcea@jcea.es>2012-08-03 12:25:53 (GMT)
commit3e3192d8f76ca6bfbf111ed2059eaef8e49a53e5 (patch)
tree6f6107e37955012a786fb83b30da9f38dd1212e2 /Include
parent1fa9f7b3d1d5c90cb231946a6edaf7f748e07436 (diff)
downloadcpython-3e3192d8f76ca6bfbf111ed2059eaef8e49a53e5.zip
cpython-3e3192d8f76ca6bfbf111ed2059eaef8e49a53e5.tar.gz
cpython-3e3192d8f76ca6bfbf111ed2059eaef8e49a53e5.tar.bz2
Closes #15512: Correct __sizeof__ support for parser
Diffstat (limited to 'Include')
-rw-r--r--Include/node.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/node.h b/Include/node.h
index e23e709..9f6760c 100644
--- a/Include/node.h
+++ b/Include/node.h
@@ -20,6 +20,9 @@ PyAPI_FUNC(node *) PyNode_New(int type);
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);
+#endif
/* Node access functions */
#define NCH(n) ((n)->n_nchildren)