diff options
author | Guido van Rossum <guido@python.org> | 1995-02-28 09:11:41 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-02-28 09:11:41 (GMT) |
commit | e26c263e71f9f46d3a6fc7b5c69b6a8e81c1997c (patch) | |
tree | ac33a9721b92f5057503429885aefeb3a53ca48e /Mac/Modules/evt/evtsupport.py | |
parent | a12ef9433bafc0507f1b37e19982a0af5eefc8dd (diff) | |
download | cpython-e26c263e71f9f46d3a6fc7b5c69b6a8e81c1997c.zip cpython-e26c263e71f9f46d3a6fc7b5c69b6a8e81c1997c.tar.gz cpython-e26c263e71f9f46d3a6fc7b5c69b6a8e81c1997c.tar.bz2 |
more stuff
Diffstat (limited to 'Mac/Modules/evt/evtsupport.py')
-rw-r--r-- | Mac/Modules/evt/evtsupport.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Mac/Modules/evt/evtsupport.py b/Mac/Modules/evt/evtsupport.py index 4798619..6f59b8b 100644 --- a/Mac/Modules/evt/evtsupport.py +++ b/Mac/Modules/evt/evtsupport.py @@ -22,8 +22,7 @@ from macsupport import * # Create the type objects -WindowPtr = OpaqueByValueType(OBJECTTYPE, OBJECTPREFIX) -WindowPeek = OpaqueByValueType("WindowPeek", OBJECTPREFIX) +#WindowPeek = OpaqueByValueType("WindowPeek", OBJECTPREFIX) RgnHandle = FakeType("(RgnHandle)0") # XXX @@ -31,6 +30,7 @@ KeyMap = ArrayOutputBufferType("KeyMap") includestuff = includestuff + """ #include <%s>""" % MACHEADERFILE + """ +#include <Desk.h> #define resNotFound -192 /* Can't include <Errors.h> because of Python's "errors.h" */ """ @@ -63,6 +63,7 @@ Function = OSErrFunctionGenerator functions = [] ##methods = [] execfile(INPUTFILE) +execfile("evtedit.py") # add the populated lists to the generator groups # (in a different wordl the scan program would generate this) @@ -72,3 +73,4 @@ for f in functions: module.add(f) # generate output (open the output file as late as possible) SetOutputFileName(OUTPUTFILE) module.generate() + |