diff options
author | Jesus Cea <jcea@jcea.es> | 2012-08-03 12:29:26 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2012-08-03 12:29:26 (GMT) |
commit | 88ca04e6a8d1e5b31da69717e0e0cde2c069d7eb (patch) | |
tree | 5a7af12a79f62a6ee89b489c65ca8d143af74a0d /Include/node.h | |
parent | 5323173dee1f20fc53c2df4707ec6d266534b748 (diff) | |
parent | e9c5318967e1e62e940b72cd47502a1a3b559b95 (diff) | |
download | cpython-88ca04e6a8d1e5b31da69717e0e0cde2c069d7eb.zip cpython-88ca04e6a8d1e5b31da69717e0e0cde2c069d7eb.tar.gz cpython-88ca04e6a8d1e5b31da69717e0e0cde2c069d7eb.tar.bz2 |
MERGE: Closes #15512: Correct __sizeof__ support for parser
Diffstat (limited to 'Include/node.h')
-rw-r--r-- | Include/node.h | 3 |
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) |