summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/qd
diff options
context:
space:
mode:
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()