mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
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.
This commit is contained in:
parent
88e0b5bee0
commit
77105a960b
26 changed files with 178 additions and 172 deletions
|
@ -7,11 +7,11 @@ import string
|
|||
|
||||
# Declarations that change for each manager
|
||||
MACHEADERFILE = 'Controls.h' # The Apple header file
|
||||
MODNAME = 'Ctl' # The name of the module
|
||||
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
|
||||
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
|
||||
INPUTFILE = string.lower(MODPREFIX) + 'gen.py' # The file generated by the scanner
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue