summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2012-08-03 12:29:26 (GMT)
committerJesus Cea <jcea@jcea.es>2012-08-03 12:29:26 (GMT)
commit88ca04e6a8d1e5b31da69717e0e0cde2c069d7eb (patch)
tree5a7af12a79f62a6ee89b489c65ca8d143af74a0d /Include
parent5323173dee1f20fc53c2df4707ec6d266534b748 (diff)
parente9c5318967e1e62e940b72cd47502a1a3b559b95 (diff)
downloadcpython-88ca04e6a8d1e5b31da69717e0e0cde2c069d7eb.zip
cpython-88ca04e6a8d1e5b31da69717e0e0cde2c069d7eb.tar.gz
cpython-88ca04e6a8d1e5b31da69717e0e0cde2c069d7eb.tar.bz2
MERGE: 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 d161195..99c13f7 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)