]> 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:29:47 +0000 (17:29 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Tue, 18 Nov 2014 15:29:47 +0000 (17:29 +0200)
Patch by Roumen Petrov.

Include/node.h

index 8704da8b98fe903a87aaeb348bc0b354569d6c2d..517c3dc43e3dafe808037a9b4d920ecde3b4e020 100644 (file)
@@ -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)