Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype

for Py_Main().

Thanks to Kalle Svensson and Skip Montanaro for the patches.
This commit is contained in:
Mark Hammond 2002-08-02 02:27:13 +00:00
parent d3c884d4ea
commit fe51c6d66e
53 changed files with 71 additions and 61 deletions

View file

@ -219,7 +219,7 @@ spam2(ge,__ge__, "ge(a, b) -- Same as a>=b.")
/* Initialization function for the module (*must* be called initoperator) */
DL_EXPORT(void)
PyMODINIT_FUNC
initoperator(void)
{
/* Create the module and add the functions */