diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1996-04-10 14:48:19 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1996-04-10 14:48:19 (GMT) |
commit | 2b72417da0af053f6efc1b3574361744eb22d2a7 (patch) | |
tree | 2385a4dfc666a30489672c480c46794b0210be97 /Mac/Modules/evt | |
parent | fcdf4378acd50b94da0cf16187363f3bf5815d6a (diff) | |
download | cpython-2b72417da0af053f6efc1b3574361744eb22d2a7.zip cpython-2b72417da0af053f6efc1b3574361744eb22d2a7.tar.gz cpython-2b72417da0af053f6efc1b3574361744eb22d2a7.tar.bz2 |
Replaced various dummy updateRegions by real arguments
Diffstat (limited to 'Mac/Modules/evt')
-rw-r--r-- | Mac/Modules/evt/Evtmodule.c | 3 | ||||
-rw-r--r-- | Mac/Modules/evt/evtgen.py | 2 | ||||
-rw-r--r-- | Mac/Modules/evt/evtsupport.py | 4 |
3 files changed, 7 insertions, 2 deletions
diff --git a/Mac/Modules/evt/Evtmodule.c b/Mac/Modules/evt/Evtmodule.c index 9078e9f..8aa8e7d 100644 --- a/Mac/Modules/evt/Evtmodule.c +++ b/Mac/Modules/evt/Evtmodule.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 <Events.h> diff --git a/Mac/Modules/evt/evtgen.py b/Mac/Modules/evt/evtgen.py index 2eda8ed..29f78d0 100644 --- a/Mac/Modules/evt/evtgen.py +++ b/Mac/Modules/evt/evtgen.py @@ -1,4 +1,4 @@ -# Generated from 'Sap:CodeWarrior7:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Events.h' +# Generated from 'flap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Events.h' f = Function(UInt32, 'GetCaretTime', ) diff --git a/Mac/Modules/evt/evtsupport.py b/Mac/Modules/evt/evtsupport.py index 617eee4..0471a7e 100644 --- a/Mac/Modules/evt/evtsupport.py +++ b/Mac/Modules/evt/evtsupport.py @@ -24,7 +24,9 @@ from macsupport import * #WindowPeek = OpaqueByValueType("WindowPeek", OBJECTPREFIX) -RgnHandle = FakeType("(RgnHandle)0") # XXX +RgnHandle = FakeType("(RgnHandle)0") +# XXXX Should be next, but this will break a lot of code... +# RgnHandle = OpaqueByValueType("RgnHandle", "OptResObj") KeyMap = ArrayOutputBufferType("KeyMap") MacOSEventKind = Type("MacOSEventKind", "h") # Old-style |