summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/dlg
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-04-12 16:29:23 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-04-12 16:29:23 (GMT)
commit46d9e79de61047ca4b1cc89aeded8a4b47972bf5 (patch)
treeeba59d4ffd410bdf18068b0f3161b2856f4b8498 /Mac/Modules/dlg
parent819fa1a794bf642da0b9bc6e345a784ab6bc3fa8 (diff)
downloadcpython-46d9e79de61047ca4b1cc89aeded8a4b47972bf5.zip
cpython-46d9e79de61047ca4b1cc89aeded8a4b47972bf5.tar.gz
cpython-46d9e79de61047ca4b1cc89aeded8a4b47972bf5.tar.bz2
bgen-generators now drop the python definition file straight in the
Lib:toolbox folder.
Diffstat (limited to 'Mac/Modules/dlg')
-rw-r--r--Mac/Modules/dlg/dlggen.py2
-rw-r--r--Mac/Modules/dlg/dlgscan.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/Mac/Modules/dlg/dlggen.py b/Mac/Modules/dlg/dlggen.py
index b3f08ae..7eb9728 100644
--- a/Mac/Modules/dlg/dlggen.py
+++ b/Mac/Modules/dlg/dlggen.py
@@ -1,4 +1,4 @@
-# Generated from 'flap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Dialogs.h'
+# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Dialogs.h'
f = Function(DialogRef, 'NewDialog',
(NullStorage, 'wStorage', InMode),
diff --git a/Mac/Modules/dlg/dlgscan.py b/Mac/Modules/dlg/dlgscan.py
index b56edfd..31c88dd 100644
--- a/Mac/Modules/dlg/dlgscan.py
+++ b/Mac/Modules/dlg/dlgscan.py
@@ -4,6 +4,7 @@ import addpack
addpack.addpack(':Tools:bgen:bgen')
from scantools import Scanner
+from bgenlocations import TOOLBOXDIR
LONG = "Dialogs"
SHORT = "dlg"
@@ -12,7 +13,7 @@ OBJECT = "DialogPtr"
def main():
input = LONG + ".h"
output = SHORT + "gen.py"
- defsoutput = LONG + ".py"
+ defsoutput = TOOLBOXDIR + LONG + ".py"
scanner = MyScanner(input, output, defsoutput)
scanner.scan()
scanner.close()