diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-08-23 13:51:46 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-08-23 13:51:46 (GMT) |
commit | 77105a960b078d79a4e7827b320e66217a78a0f8 (patch) | |
tree | d1fe67a54dc00b2dcb552d3187efd2fd9f2b2794 /Mac/Modules/dlg | |
parent | 88e0b5bee0e69b628a9358c987bf49ac885d1c21 (diff) | |
download | cpython-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/dlg')
-rw-r--r-- | Mac/Modules/dlg/dlgsupport.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/dlg/dlgsupport.py b/Mac/Modules/dlg/dlgsupport.py index b166b42..af72b3a 100644 --- a/Mac/Modules/dlg/dlgsupport.py +++ b/Mac/Modules/dlg/dlgsupport.py @@ -240,7 +240,7 @@ class MyObjectDefinition(GlobalObjectDefinition): Output("DisposeDialog(%s);", itselfname) # Create the generator groups and link them -module = MacModule('Dlg', 'Dlg', includestuff, finalstuff, initstuff) +module = MacModule('_Dlg', 'Dlg', includestuff, finalstuff, initstuff) object = MyObjectDefinition('Dialog', 'DlgObj', 'DialogPtr') module.addobject(object) @@ -300,5 +300,5 @@ f = ManualGenerator("SetUserItemHandler", setuseritembody) module.add(f) # generate output -SetOutputFileName('Dlgmodule.c') +SetOutputFileName('_Dlgmodule.c') module.generate() |