diff options
author | Thomas Heller <theller@ctypes.org> | 2004-07-28 20:02:52 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2004-07-28 20:02:52 (GMT) |
commit | a18331de4e513653e3c2001be07f5df034abd4ba (patch) | |
tree | abe2e39454b7309c1aed1a605016d48baab7c22d | |
parent | 17b6d28c64dc2299dd2639e9427e4116b98b9ffe (diff) | |
download | cpython-a18331de4e513653e3c2001be07f5df034abd4ba.zip cpython-a18331de4e513653e3c2001be07f5df034abd4ba.tar.gz cpython-a18331de4e513653e3c2001be07f5df034abd4ba.tar.bz2 |
Use PyMODINIT_FUNC.
-rwxr-xr-x | PC/msvcrtmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/msvcrtmodule.c b/PC/msvcrtmodule.c index 5afa45f..84cf0c1 100755 --- a/PC/msvcrtmodule.c +++ b/PC/msvcrtmodule.c @@ -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); |