From 8c7d39dd62049b59ecb90958feeef6bc69cb92bd Mon Sep 17 00:00:00 2001 From: Pearu Peterson Date: Mon, 24 Apr 2006 22:39:21 +0000 Subject: Make ext module typespecs to use PyMODINIT_FUNC that is essential for mingw32 and c++ code combination to work correctly. --- numpy/lib/src/_compiled_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/lib/src') diff --git a/numpy/lib/src/_compiled_base.c b/numpy/lib/src/_compiled_base.c index 9af8fca0f..e5bfeae43 100644 --- a/numpy/lib/src/_compiled_base.c +++ b/numpy/lib/src/_compiled_base.c @@ -430,7 +430,7 @@ define_types(void) /* Initialization function for the module (*must* be called initArray) */ -DL_EXPORT(void) init_compiled_base(void) { +PyMODINIT_FUNC init_compiled_base(void) { PyObject *m, *d, *s; /* Create the module and add the functions */ -- cgit v1.2.1