mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Use PyMODINIT_FUNC.
This commit is contained in:
parent
17b6d28c64
commit
a18331de4e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue