Kaydet (Commit) 5de54208 authored tarafından Guido van Rossum's avatar Guido van Rossum

Needed to add DL_EXPORT to (redundant?) extern decl of module init function.

üst fba0ba2a
...@@ -82,7 +82,7 @@ static Sigfunc sigfpe_handler; ...@@ -82,7 +82,7 @@ static Sigfunc sigfpe_handler;
static void fpe_reset(Sigfunc *); static void fpe_reset(Sigfunc *);
static PyObject *fpe_error; static PyObject *fpe_error;
void initfpectl(void); DL_EXPORT(void) initfpectl(void);
static PyObject *turnon_sigfpe (PyObject *self,PyObject *args); static PyObject *turnon_sigfpe (PyObject *self,PyObject *args);
static PyObject *turnoff_sigfpe (PyObject *self,PyObject *args); static PyObject *turnoff_sigfpe (PyObject *self,PyObject *args);
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
#include "Python.h" #include "Python.h"
static PyObject *fpe_error; static PyObject *fpe_error;
void initfpetest(void); DL_EXPORT(void) initfpetest(void);
static PyObject *test(PyObject *self,PyObject *args); static PyObject *test(PyObject *self,PyObject *args);
static double db0(double); static double db0(double);
static double overflow(double); static double overflow(double);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment