[Python-checkins] CVS: python/dist/src/Mac/Modules/menu _Menumodule.c,1.8,1.9 menusupport.py,1.15,1.16
Just van Rossum
jvr@users.sourceforge.net
Wed, 02 Jan 2002 06:59:05 -0800
- Previous message: [Python-checkins] CVS: python/dist/src/Mac/Modules/menu _Menumodule.c,1.7,1.8 menuedit.py,1.8,1.9 menusupport.py,1.14,1.15
- Next message: [Python-checkins] CVS: python/dist/src/Mac/Modules/app _Appmodule.c,1.5,1.6 appscan.py,1.5,1.6 appsupport.py,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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)
{
- Previous message: [Python-checkins] CVS: python/dist/src/Mac/Modules/menu _Menumodule.c,1.7,1.8 menuedit.py,1.8,1.9 menusupport.py,1.14,1.15
- Next message: [Python-checkins] CVS: python/dist/src/Mac/Modules/app _Appmodule.c,1.5,1.6 appscan.py,1.5,1.6 appsupport.py,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]