Files
MINGW-packages/mingw-w64-python2/0110-mingw-_PyNode_SizeOf-decl-fix.patch
2013-11-29 14:55:41 +04:00

13 lines
444 B
Diff

diff -urN a/Include/node.h b/Include/node.h
--- a/Include/node.h 2013-05-17 23:57:42.847516341 +0100
+++ b/Include/node.h 2013-05-17 23:57:43.218520534 +0100
@@ -21,7 +21,7 @@
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 */