diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1996-04-12 16:29:23 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1996-04-12 16:29:23 (GMT) |
commit | 46d9e79de61047ca4b1cc89aeded8a4b47972bf5 (patch) | |
tree | eba59d4ffd410bdf18068b0f3161b2856f4b8498 /Mac/Modules/qt | |
parent | 819fa1a794bf642da0b9bc6e345a784ab6bc3fa8 (diff) | |
download | cpython-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/qt')
-rw-r--r-- | Mac/Modules/qt/Qtmodule.c | 3 | ||||
-rw-r--r-- | Mac/Modules/qt/qtgen.py | 2 | ||||
-rw-r--r-- | Mac/Modules/qt/qtscan.py | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/Mac/Modules/qt/Qtmodule.c b/Mac/Modules/qt/Qtmodule.c index ffba461..b53f133 100644 --- a/Mac/Modules/qt/Qtmodule.c +++ b/Mac/Modules/qt/Qtmodule.c @@ -40,6 +40,9 @@ extern int GrafObj_Convert(PyObject *, GrafPtr *); extern PyObject *BMObj_New(BitMapPtr); extern int BMObj_Convert(PyObject *, BitMapPtr *); +extern PyObject *PMObj_New(PixMapHandle); +extern int PMObj_Convert(PyObject *, PixMapHandle *); + extern PyObject *WinObj_WhichWindow(WindowPtr); #include <Movies.h> diff --git a/Mac/Modules/qt/qtgen.py b/Mac/Modules/qt/qtgen.py index b10312e..03b29e7 100644 --- a/Mac/Modules/qt/qtgen.py +++ b/Mac/Modules/qt/qtgen.py @@ -1,4 +1,4 @@ -# Generated from 'Sap:CodeWarrior7:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Movies.h' +# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Movies.h' f = Function(OSErr, 'EnterMovies', ) diff --git a/Mac/Modules/qt/qtscan.py b/Mac/Modules/qt/qtscan.py index 020c487..7fba936 100644 --- a/Mac/Modules/qt/qtscan.py +++ b/Mac/Modules/qt/qtscan.py @@ -3,6 +3,7 @@ import addpack addpack.addpack(':tools:bgen:bgen') from scantools import Scanner +from bgenlocations import TOOLBOXDIR LONG = "QuickTime" SHORT = "qt" @@ -11,7 +12,7 @@ OBJECTS = ("Movie", "Track", "Media", "UserData", "TimeBase", "MovieController") def main(): input = "Movies.h" output = SHORT + "gen.py" - defsoutput = LONG + ".py" + defsoutput = TOOLBOXDIR + LONG + ".py" scanner = MyScanner(input, output, defsoutput) scanner.scan() scanner.close() |