]> granicus.if.org Git - python/commitdiff
Issue #18637: Fixed an error in _PyNode_SizeOf declaration.
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 18 Nov 2014 15:30:15 +0000 (17:30 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Tue, 18 Nov 2014 15:30:15 +0000 (17:30 +0200)
Patch by Roumen Petrov.

Include/node.h

index 99c13f7dc9069f193ade676b95b9b56e39ce7b79..2e4e2bada7f2edacd8628fe54cec7bd03adfd2ba 100644 (file)
@@ -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 */