From: Fred Drake Date: Thu, 29 Jun 2000 16:14:14 +0000 (+0000) Subject: Update the module name to _winreg, pending checkin of Paul Prescod's X-Git-Tag: v2.0b1~1300 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=270e19b060fc027c10d44a2f4941673b6165f419;p=thirdparty%2FPython%2Fcpython.git Update the module name to _winreg, pending checkin of Paul Prescod's OO wrapper for this module. --- diff --git a/PC/_winreg.c b/PC/_winreg.c index 543a366dc28c..f92476eb626c 100644 --- a/PC/_winreg.c +++ b/PC/_winreg.c @@ -1,5 +1,5 @@ /* - winreg.c + _winreg.c Windows Registry access module for Python. @@ -1403,10 +1403,10 @@ inskey(PyObject * d, char * name, HKEY key) #define ADD_KEY(val) inskey(d, #val, val) -__declspec(dllexport) void initwinreg(void) +__declspec(dllexport) void init_winreg(void) { PyObject *m, *d; - m = Py_InitModule3("winreg", winreg_methods, module_doc); + m = Py_InitModule3("_winreg", winreg_methods, module_doc); d = PyModule_GetDict(m); PyHKEY_Type.ob_type = &PyType_Type; PyHKEY_Type.tp_doc = PyHKEY_doc;