summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2012-08-03 12:28:37 (GMT)
committerJesus Cea <jcea@jcea.es>2012-08-03 12:28:37 (GMT)
commite9c5318967e1e62e940b72cd47502a1a3b559b95 (patch)
tree34c525b3471a0d8f9ae478c4e4e78142f9081ca4 /Include
parenta9a53c7dc055b54133f2dee33f1834d7566de842 (diff)
downloadcpython-e9c5318967e1e62e940b72cd47502a1a3b559b95.zip
cpython-e9c5318967e1e62e940b72cd47502a1a3b559b95.tar.gz
cpython-e9c5318967e1e62e940b72cd47502a1a3b559b95.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)