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/res | |
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/res')
-rw-r--r-- | Mac/Modules/res/Resmodule.c | 3 | ||||
-rw-r--r-- | Mac/Modules/res/resgen.py | 2 | ||||
-rw-r--r-- | Mac/Modules/res/resscan.py | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/Mac/Modules/res/Resmodule.c b/Mac/Modules/res/Resmodule.c index 1e3e912..4ee935c 100644 --- a/Mac/Modules/res/Resmodule.c +++ b/Mac/Modules/res/Resmodule.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 <Resources.h> diff --git a/Mac/Modules/res/resgen.py b/Mac/Modules/res/resgen.py index fe267da..6b6c365 100644 --- a/Mac/Modules/res/resgen.py +++ b/Mac/Modules/res/resgen.py @@ -1,4 +1,4 @@ -# Generated from 'Sap:CodeWarrior7:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Resources.h' +# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Resources.h' f = ResFunction(short, 'InitResources', ) diff --git a/Mac/Modules/res/resscan.py b/Mac/Modules/res/resscan.py index 9420a03..eff0005 100644 --- a/Mac/Modules/res/resscan.py +++ b/Mac/Modules/res/resscan.py @@ -10,13 +10,14 @@ import regsub import MacOS import addpack addpack.addpack(':Tools:bgen:bgen') +from bgenlocations import TOOLBOXDIR from scantools import Scanner def main(): input = "Resources.h" output = "resgen.py" - defsoutput = "Resources.py" + defsoutput = TOOLBOXDIR + "Resources.py" scanner = ResourcesScanner(input, output, defsoutput) scanner.scan() scanner.close() |