summaryrefslogtreecommitdiff
path: root/numpy/core/src/scalarmathmodule.c.src
diff options
context:
space:
mode:
authorcgohlke <cgohlke@uci.edu>2012-08-05 14:17:30 -0700
committerStefan van der Walt <stefan@sun.ac.za>2012-09-02 23:53:15 -0700
commitead9e09c5adbc94bfc3c5cc8344089b836cfffd5 (patch)
tree6c552c67c96063d6df7b78ef3056c31b10c80959 /numpy/core/src/scalarmathmodule.c.src
parentcd9092aa71d23359b33e89d938c55fb14b9bf606 (diff)
downloadnumpy-ead9e09c5adbc94bfc3c5cc8344089b836cfffd5.tar.gz
Use PyMODINIT_FUNC and update docs accordingly.
See https://github.com/scipy/scipy/pull/279
Diffstat (limited to 'numpy/core/src/scalarmathmodule.c.src')
-rw-r--r--numpy/core/src/scalarmathmodule.c.src2
1 files changed, 1 insertions, 1 deletions
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