From: Serhiy Storchaka Date: Tue, 18 Nov 2014 15:29:47 +0000 (+0200) Subject: Issue #18637: Fixed an error in _PyNode_SizeOf declaration. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ead2f5a027c2bb92a1b476c72f1ef50dcec32092;p=python Issue #18637: Fixed an error in _PyNode_SizeOf declaration. Patch by Roumen Petrov. --- diff --git a/Include/node.h b/Include/node.h index 8704da8b98..517c3dc43e 100644 --- a/Include/node.h +++ b/Include/node.h @@ -20,7 +20,7 @@ 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); -Py_ssize_t _PyNode_SizeOf(node *n); +PyAPI_FUNC(Py_ssize_t) _PyNode_SizeOf(node *n); /* Node access functions */ #define NCH(n) ((n)->n_nchildren)