[Python-checkins] CVS: python/dist/src/Mac/Modules/menu menusupport.py,1.11,1.12
Jack Jansen
jackjansen@users.sourceforge.net
Thu, 23 Aug 2001 06:50:03 -0700
Update of /cvsroot/python/python/dist/src/Mac/Modules/menu
In directory usw-pr-cvs1:/tmp/cvs-serv27462/Python/Mac/Modules/menu
Modified Files:
menusupport.py
Log Message:
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Index: menusupport.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/menu/menusupport.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** menusupport.py 2001/05/22 21:53:13 1.11
--- menusupport.py 2001/08/23 13:50:01 1.12
***************
*** 8,16 ****
# Declarations that change for each manager
MACHEADERFILE = 'Menus.h' # The Apple header file
! MODNAME = 'Menu' # The name of the module
OBJECTNAME = 'Menu' # The basic name of the objects used here
# The following is *usually* unchanged but may still require tuning
! MODPREFIX = MODNAME # The prefix for module-wide routines
OBJECTTYPE = OBJECTNAME + 'Handle' # The C type used to represent them
OBJECTPREFIX = MODPREFIX + 'Obj' # The prefix for object methods
--- 8,16 ----
# Declarations that change for each manager
MACHEADERFILE = 'Menus.h' # The Apple header file
! MODNAME = '_Menu' # The name of the module
OBJECTNAME = 'Menu' # The basic name of the objects used here
# The following is *usually* unchanged but may still require tuning
! MODPREFIX = 'Menu' # The prefix for module-wide routines
OBJECTTYPE = OBJECTNAME + 'Handle' # The C type used to represent them
OBJECTPREFIX = MODPREFIX + 'Obj' # The prefix for object methods