From: Benjamin Peterson Date: Sat, 23 Apr 2016 06:43:10 +0000 (-0700) Subject: fix python 3 mod init function declaration (closes #26827) X-Git-Tag: v2.7.12rc1~108 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bca06ccb3e23cc1da24d3c1d78cc8a5d6df52bdf;p=thirdparty%2FPython%2Fcpython.git fix python 3 mod init function declaration (closes #26827) --- diff --git a/Doc/howto/cporting.rst b/Doc/howto/cporting.rst index d7a708630259..27e7e6f6e0d9 100644 --- a/Doc/howto/cporting.rst +++ b/Doc/howto/cporting.rst @@ -161,7 +161,7 @@ simple example demonstrates how. :: #define INITERROR return NULL - PyObject * + PyMODINIT_FUNC PyInit_myextension(void) #else