mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +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}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
__declspec(dllexport) void
|
PyMODINIT_FUNC
|
||||||
initmsvcrt(void)
|
initmsvcrt(void)
|
||||||
{
|
{
|
||||||
PyObject *m = Py_InitModule("msvcrt", msvcrt_functions);
|
PyObject *m = Py_InitModule("msvcrt", msvcrt_functions);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue