From ead9e09c5adbc94bfc3c5cc8344089b836cfffd5 Mon Sep 17 00:00:00 2001 From: cgohlke Date: Sun, 5 Aug 2012 14:17:30 -0700 Subject: Use PyMODINIT_FUNC and update docs accordingly. See https://github.com/scipy/scipy/pull/279 --- numpy/core/src/scalarmathmodule.c.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/core/src/scalarmathmodule.c.src') diff --git a/numpy/core/src/scalarmathmodule.c.src b/numpy/core/src/scalarmathmodule.c.src index 4b56c1510..3241f97b8 100644 --- a/numpy/core/src/scalarmathmodule.c.src +++ b/numpy/core/src/scalarmathmodule.c.src @@ -1998,7 +1998,7 @@ static struct PyModuleDef moduledef = { #if defined(NPY_PY3K) #define RETVAL m -PyObject *PyInit_scalarmath(void) +PyMODINIT_FUNC PyInit_scalarmath(void) #else #define RETVAL PyMODINIT_FUNC -- cgit v1.2.1