[Python-checkins] CVS: python/dist/src/PC _winreg.c,1.3,1.4
Fred L. Drake
python-dev@python.org
Thu, 29 Jun 2000 09:14:17 -0700
Update of /cvsroot/python/python/dist/src/PC
In directory slayer.i.sourceforge.net:/tmp/cvs-serv3574
Modified Files:
_winreg.c
Log Message:
Update the module name to _winreg, pending checkin of Paul Prescod's
OO wrapper for this module.
Index: _winreg.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/PC/_winreg.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** _winreg.c 2000/06/09 06:01:47 1.3
--- _winreg.c 2000/06/29 16:14:14 1.4
***************
*** 1,4 ****
/*
! winreg.c
Windows Registry access module for Python.
--- 1,4 ----
/*
! _winreg.c
Windows Registry access module for Python.
***************
*** 1404,1411 ****
#define ADD_KEY(val) inskey(d, #val, val)
! __declspec(dllexport) void initwinreg(void)
{
PyObject *m, *d;
! m = Py_InitModule3("winreg", winreg_methods, module_doc);
d = PyModule_GetDict(m);
PyHKEY_Type.ob_type = &PyType_Type;
--- 1404,1411 ----
#define ADD_KEY(val) inskey(d, #val, val)
! __declspec(dllexport) void init_winreg(void)
{
PyObject *m, *d;
! m = Py_InitModule3("_winreg", winreg_methods, module_doc);
d = PyModule_GetDict(m);
PyHKEY_Type.ob_type = &PyType_Type;