mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Use PyMODINIT_FUNC.
This commit is contained in:
@@ -217,7 +217,7 @@ static struct PyMethodDef msvcrt_functions[] = {
|
||||
{NULL, NULL}
|
||||
};
|
||||
|
||||
__declspec(dllexport) void
|
||||
PyMODINIT_FUNC
|
||||
initmsvcrt(void)
|
||||
{
|
||||
PyObject *m = Py_InitModule("msvcrt", msvcrt_functions);
|
||||
|
||||
Reference in New Issue
Block a user