Update of /cvsroot/python/python/dist/src/Mac/Modules/menu In directory usw-pr-cvs1:/tmp/cvs-serv21804 Modified Files: _Menumodule.c menusupport.py Log Message: rectified copy/paste oversight in comment Index: _Menumodule.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Mac/Modules/menu/_Menumodule.c,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** _Menumodule.c 2002/01/02 14:48:36 1.8 --- _Menumodule.c 2002/01/02 14:59:02 1.9 *************** *** 52,56 **** ! /* Alternative version of ResObj_New, which returns None for null argument */ PyObject *OptMenuObj_New(MenuRef itself) { --- 52,56 ---- ! /* Alternative version of MenuObj_New, which returns None for NULL argument */ PyObject *OptMenuObj_New(MenuRef itself) { *************** *** 62,65 **** --- 62,66 ---- } + /* Alternative version of MenuObj_Convert, which returns NULL for a None argument */ int OptMenuObj_Convert(PyObject *v, MenuRef *p_itself) { Index: menusupport.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Mac/Modules/menu/menusupport.py,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** menusupport.py 2002/01/02 14:48:36 1.15 --- menusupport.py 2002/01/02 14:59:03 1.16 *************** *** 72,76 **** ! /* Alternative version of ResObj_New, which returns None for null argument */ PyObject *OptMenuObj_New(MenuRef itself) { --- 72,76 ---- ! /* Alternative version of MenuObj_New, which returns None for NULL argument */ PyObject *OptMenuObj_New(MenuRef itself) { *************** *** 82,85 **** --- 82,86 ---- } + /* Alternative version of MenuObj_Convert, which returns NULL for a None argument */ int OptMenuObj_Convert(PyObject *v, MenuRef *p_itself) {
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4