mirror of
https://github.com/python/cpython.git
synced 2025-07-19 01:05:26 +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
|
@ -701,10 +701,10 @@ static struct PycStringIO_CAPI CAPI = {
|
|||
&Otype,
|
||||
};
|
||||
|
||||
#ifndef DL_EXPORT /* declarations for DLL import/export */
|
||||
#define DL_EXPORT(RTYPE) RTYPE
|
||||
#ifndef PyMODINIT_FUNC /* declarations for DLL import/export */
|
||||
#define PyMODINIT_FUNC void
|
||||
#endif
|
||||
DL_EXPORT(void)
|
||||
PyMODINIT_FUNC
|
||||
initcStringIO(void) {
|
||||
PyObject *m, *d, *v;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue