[Python-checkins] CVS: python/dist/src/Mac/Modules/ctl ctlsupport.py,1.40,1.41
Jack Jansen
jackjansen@users.sourceforge.net
2001年8月23日 06:48:11 -0700
Update of /cvsroot/python/python/dist/src/Mac/Modules/ctl
In directory usw-pr-cvs1:/tmp/cvs-serv26879/Python/Mac/Modules/ctl
Modified Files:
ctlsupport.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: ctlsupport.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/ctl/ctlsupport.py,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -d -r1.40 -r1.41
*** ctlsupport.py 2001年06月20日 21:31:28 1.40
--- ctlsupport.py 2001年08月23日 13:48:09 1.41
***************
*** 8,16 ****
# Declarations that change for each manager
MACHEADERFILE = 'Controls.h' # The Apple header file
! MODNAME = 'Ctl' # The name of the module
OBJECTNAME = 'Control' # 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 = 'Controls.h' # The Apple header file
! MODNAME = '_Ctl' # The name of the module
OBJECTNAME = 'Control' # The basic name of the objects used here
# The following is *usually* unchanged but may still require tuning
! MODPREFIX = 'Ctl' # The prefix for module-wide routines
OBJECTTYPE = OBJECTNAME + 'Handle' # The C type used to represent them
OBJECTPREFIX = MODPREFIX + 'Obj' # The prefix for object methods