From 60fe569673eecaffd4afccd9b4d8a2c2bb4df15e Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Tue, 18 Nov 2014 17:30:15 +0200 Subject: [PATCH] Issue #18637: Fixed an error in _PyNode_SizeOf declaration. Patch by Roumen Petrov. --- Include/node.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.40.0