Add DL_EXPORT() to all modules that could possibly be used

on BeOS or Windows.
This commit is contained in:
Guido van Rossum 1998-12-04 18:50:17 +00:00
parent 50f385c197
commit 3886bb6997
47 changed files with 47 additions and 46 deletions

View file

@ -226,7 +226,7 @@ char new_doc[] =
\n\
You need to know a great deal about the interpreter to use this!";
void
DL_EXPORT(void)
initnew()
{
Py_InitModule4("new", new_methods, new_doc, (PyObject *)NULL,