mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
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:
parent
d3c884d4ea
commit
fe51c6d66e
53 changed files with 71 additions and 61 deletions
|
@ -218,7 +218,7 @@ static PyMethodDef xx_methods[] = {
|
|||
|
||||
/* Initialization function for the module (*must* be called initxx) */
|
||||
|
||||
DL_EXPORT(void)
|
||||
PyMODINIT_FUNC
|
||||
initxx(void)
|
||||
{
|
||||
PyObject *m;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue