From: Serhiy Storchaka Date: Tue, 18 Nov 2014 15:30:15 +0000 (+0200) Subject: Issue #18637: Fixed an error in _PyNode_SizeOf declaration. X-Git-Tag: v3.5.0a1~477^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=60fe569673eecaffd4afccd9b4d8a2c2bb4df15e;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 99c13f7dc9..2e4e2bada7 100644 --- a/Include/node.h +++ b/Include/node.h @@ -21,7 +21,7 @@ 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); +PyAPI_FUNC(Py_ssize_t) _PyNode_SizeOf(node *n); #endif /* Node access functions */