summaryrefslogtreecommitdiff
path: root/Mac/Modules/menu
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-08-23 13:51:46 +0000
committerJack Jansen <jack.jansen@cwi.nl>2001-08-23 13:51:46 +0000
commit66c89f6cdd31ddac4f1cf8447823f32da88dc5bc (patch)
tree6e388dbe9eeb9ea0ff3524f0d6be601e5bfe99f9 /Mac/Modules/menu
parentf606d6f8bb8917a943f5fbe4032c82ccf94163ee (diff)
downloadcpython-66c89f6cdd31ddac4f1cf8447823f32da88dc5bc.tar.gz
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/menu')
-rw-r--r--Mac/Modules/menu/menusupport.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/menu/menusupport.py b/Mac/Modules/menu/menusupport.py
index a438f14199..199c8af27c 100644
--- a/Mac/Modules/menu/menusupport.py
+++ b/Mac/Modules/menu/menusupport.py
@@ -7,11 +7,11 @@ import string
# Declarations that change for each manager
MACHEADERFILE = 'Menus.h' # The Apple header file
-MODNAME = 'Menu' # The name of the module
+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
+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
INPUTFILE = string.lower(MODPREFIX) + 'gen.py' # The file generated by the scanner