[Python-checkins] CVS: python/dist/src/Mac/Modules/te tesupport.py,1.8,1.9
Jack Jansen
jackjansen@users.sourceforge.net
2001年8月23日 06:51:35 -0700
Update of /cvsroot/python/python/dist/src/Mac/Modules/te
In directory usw-pr-cvs1:/tmp/cvs-serv27854/Python/Mac/Modules/te
Modified Files:
tesupport.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: tesupport.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/te/tesupport.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** tesupport.py 2001年05月22日 21:56:10 1.8
--- tesupport.py 2001年08月23日 13:51:33 1.9
***************
*** 8,17 ****
# Declarations that change for each manager
MACHEADERFILE = 'TextEdit.h' # The Apple header file
! MODNAME = 'TE' # The name of the module
OBJECTNAME = 'TE' # The basic name of the objects used here
KIND = 'Handle' # Usually 'Ptr' or 'Handle'
# The following is *usually* unchanged but may still require tuning
! MODPREFIX = MODNAME # The prefix for module-wide routines
OBJECTTYPE = "TEHandle" # The C type used to represent them
OBJECTPREFIX = MODPREFIX + 'Obj' # The prefix for object methods
--- 8,17 ----
# Declarations that change for each manager
MACHEADERFILE = 'TextEdit.h' # The Apple header file
! MODNAME = '_TE' # The name of the module
OBJECTNAME = 'TE' # The basic name of the objects used here
KIND = 'Handle' # Usually 'Ptr' or 'Handle'
# The following is *usually* unchanged but may still require tuning
! MODPREFIX = 'TE' # The prefix for module-wide routines
OBJECTTYPE = "TEHandle" # The C type used to represent them
OBJECTPREFIX = MODPREFIX + 'Obj' # The prefix for object methods