summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/cm
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-04-12 16:29:23 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-04-12 16:29:23 (GMT)
commit46d9e79de61047ca4b1cc89aeded8a4b47972bf5 (patch)
treeeba59d4ffd410bdf18068b0f3161b2856f4b8498 /Mac/Modules/cm
parent819fa1a794bf642da0b9bc6e345a784ab6bc3fa8 (diff)
downloadcpython-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/cm')
-rw-r--r--Mac/Modules/cm/Cmgen.py2
-rw-r--r--Mac/Modules/cm/Cmmodule.c3
-rw-r--r--Mac/Modules/cm/cmscan.py3
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()