mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Needed to add DL_EXPORT to (redundant?) extern decl of module init function.
This commit is contained in:
parent
fba0ba2a6f
commit
5de54208a5
2 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ static Sigfunc sigfpe_handler;
|
|||
static void fpe_reset(Sigfunc *);
|
||||
|
||||
static PyObject *fpe_error;
|
||||
void initfpectl(void);
|
||||
DL_EXPORT(void) initfpectl(void);
|
||||
static PyObject *turnon_sigfpe (PyObject *self,PyObject *args);
|
||||
static PyObject *turnoff_sigfpe (PyObject *self,PyObject *args);
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
#include "Python.h"
|
||||
|
||||
static PyObject *fpe_error;
|
||||
void initfpetest(void);
|
||||
DL_EXPORT(void) initfpetest(void);
|
||||
static PyObject *test(PyObject *self,PyObject *args);
|
||||
static double db0(double);
|
||||
static double overflow(double);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue