Update of /cvsroot/pywin32/pywin32/com/win32comext/axdebug/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv9910/com/win32comext/axdebug/src
Modified Files:
AXDebug.cpp
Log Message:
Move to PYWIN_MODULE_* macros from py3k branch
Index: AXDebug.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32comext/axdebug/src/AXDebug.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** AXDebug.cpp 8 Dec 2008 13:16:36 -0000 1.6
--- AXDebug.cpp 17 Dec 2008 13:09:45 -0000 1.7
***************
*** 280,284 ****
};
! #define ADD_CONSTANT(tok) if (PyModule_AddIntConstant(module, #tok, tok) == -1) RETURN_ERROR;
/* Module initialisation */
--- 280,284 ----
};
! #define ADD_CONSTANT(tok) if (PyModule_AddIntConstant(module, #tok, tok) == -1) PYWIN_MODULE_INIT_RETURN_ERROR;
/* Module initialisation */
***************
*** 293,297 ****
axdebug_Error = PyErr_NewException("axdebug.error", NULL, NULL);
if (axdebug_Error == NULL || PyDict_SetItemString(dict, "error", axdebug_Error) != 0)
! RETURN_ERROR;
// AX-Debugging interface registration
--- 293,297 ----
axdebug_Error = PyErr_NewException("axdebug.error", NULL, NULL);
if (axdebug_Error == NULL || PyDict_SetItemString(dict, "error", axdebug_Error) != 0)
! PYWIN_MODULE_INIT_RETURN_ERROR;
// AX-Debugging interface registration
|