diff options
Diffstat (limited to 'Mac/Modules/cm')
-rw-r--r-- | Mac/Modules/cm/Cmgen.py | 2 | ||||
-rw-r--r-- | Mac/Modules/cm/Cmmodule.c | 3 | ||||
-rw-r--r-- | Mac/Modules/cm/cmscan.py | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/Mac/Modules/cm/Cmgen.py b/Mac/Modules/cm/Cmgen.py index f3b8991..5edeb24 100644 --- a/Mac/Modules/cm/Cmgen.py +++ b/Mac/Modules/cm/Cmgen.py @@ -1,4 +1,4 @@ -# Generated from 'Sap:CodeWarrior7:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Components.h' +# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Components.h' f = Function(Component, 'RegisterComponentResource', (ComponentResourceHandle, 'tr', InMode), diff --git a/Mac/Modules/cm/Cmmodule.c b/Mac/Modules/cm/Cmmodule.c index fd8b331..372fb56 100644 --- a/Mac/Modules/cm/Cmmodule.c +++ b/Mac/Modules/cm/Cmmodule.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 <Components.h> diff --git a/Mac/Modules/cm/cmscan.py b/Mac/Modules/cm/cmscan.py index d568a73..95abeed 100644 --- a/Mac/Modules/cm/cmscan.py +++ b/Mac/Modules/cm/cmscan.py @@ -3,6 +3,7 @@ import addpack addpack.addpack(':tools:bgen:bgen') from scantools import Scanner +from bgenlocations import TOOLBOXDIR LONG = "Components" SHORT = "Cm" @@ -10,7 +11,7 @@ SHORT = "Cm" def main(): input = "Components.h" output = SHORT + "gen.py" - defsoutput = LONG + ".py" + defsoutput = TOOLBOXDIR + LONG + ".py" scanner = MyScanner(input, output, defsoutput) scanner.scan() scanner.close() |