summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/te
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-08-23 13:51:46 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-08-23 13:51:46 (GMT)
commit77105a960b078d79a4e7827b320e66217a78a0f8 (patch)
treed1fe67a54dc00b2dcb552d3187efd2fd9f2b2794 /Mac/Modules/te
parent88e0b5bee0e69b628a9358c987bf49ac885d1c21 (diff)
downloadcpython-77105a960b078d79a4e7827b320e66217a78a0f8.zip
cpython-77105a960b078d79a4e7827b320e66217a78a0f8.tar.gz
cpython-77105a960b078d79a4e7827b320e66217a78a0f8.tar.bz2
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.
Diffstat (limited to 'Mac/Modules/te')
-rw-r--r--Mac/Modules/te/tesupport.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/te/tesupport.py b/Mac/Modules/te/tesupport.py
index 6cb96e2..6aa5a65 100644
--- a/Mac/Modules/te/tesupport.py
+++ b/Mac/Modules/te/tesupport.py
@@ -7,12 +7,12 @@ import string
# Declarations that change for each manager
MACHEADERFILE = 'TextEdit.h' # The Apple header file
-MODNAME = 'TE' # The name of the module
+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
+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
INPUTFILE = string.lower(MODPREFIX) + 'gen.py' # The file generated by the scanner