Skip to content

Commit 60fe569

Browse files
Issue #18637: Fixed an error in _PyNode_SizeOf declaration.
Patch by Roumen Petrov.
1 parent 66dd4aa commit 60fe569

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/node.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ PyAPI_FUNC(int) PyNode_AddChild(node *n, int type,
2121
char *str, int lineno, int col_offset);
2222
PyAPI_FUNC(void) PyNode_Free(node *n);
2323
#ifndef Py_LIMITED_API
24-
Py_ssize_t _PyNode_SizeOf(node *n);
24+
PyAPI_FUNC(Py_ssize_t) _PyNode_SizeOf(node *n);
2525
#endif
2626

2727
/* Node access functions */

0 commit comments

Comments
 (0)