diff options
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() |