summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/qd
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/qd
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/qd')
-rw-r--r--Mac/Modules/qd/qdgen.py4
-rw-r--r--Mac/Modules/qd/qdscan.py5
2 files changed, 5 insertions, 4 deletions
diff --git a/Mac/Modules/qd/qdgen.py b/Mac/Modules/qd/qdgen.py
index 4df58f7..83f427f 100644
--- a/Mac/Modules/qd/qdgen.py
+++ b/Mac/Modules/qd/qdgen.py
@@ -1,4 +1,4 @@
-# Generated from 'flap:CodeWarrior:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:QuickDraw.h'
+# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:QuickDraw.h'
f = Function(void, 'SetPort',
(GrafPtr, 'port', InMode),
@@ -926,7 +926,7 @@ f = Function(void, 'GetIndPattern',
)
functions.append(f)
-# Generated from 'flap:CodeWarrior:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:QuickDrawText.h'
+# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:QuickDrawText.h'
f = Function(void, 'TextFont',
(short, 'font', InMode),
diff --git a/Mac/Modules/qd/qdscan.py b/Mac/Modules/qd/qdscan.py
index fd654f3..4155df0 100644
--- a/Mac/Modules/qd/qdscan.py
+++ b/Mac/Modules/qd/qdscan.py
@@ -4,11 +4,12 @@ import addpack
addpack.addpack(':Tools:bgen:bgen')
from scantools import Scanner
+from bgenlocations import TOOLBOXDIR
def main():
input = "QuickDraw.h"
output = "qdgen.py"
- defsoutput = "QuickDraw.py"
+ defsoutput = TOOLBOXDIR + "QuickDraw.py"
scanner = MyScanner(input, output, defsoutput)
scanner.scan()
scanner.close()
@@ -33,7 +34,7 @@ def main():
ifp.close()
ofp.close()
ifp = open("@QuickDrawText.py")
- ofp = open("QuickDraw.py", "a")
+ ofp = open(TOOLBOXDIR + "QuickDraw.py", "a")
ofp.write(ifp.read())
ifp.close()
ofp.close()