diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1995-06-05 22:34:12 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1995-06-05 22:34:12 (GMT) |
commit | c7cfb9555974e2e3789a629f1b7509eaa73ee2c6 (patch) | |
tree | 38d683d1f4a7affc89ac209a61f23d0c26715446 /Mac/Modules/ae/aesupport.py | |
parent | f301dcac737bdd38fa919a0cfb9f52b4a1b85ed1 (diff) | |
download | cpython-c7cfb9555974e2e3789a629f1b7509eaa73ee2c6.zip cpython-c7cfb9555974e2e3789a629f1b7509eaa73ee2c6.tar.gz cpython-c7cfb9555974e2e3789a629f1b7509eaa73ee2c6.tar.bz2 |
Rather massive changes:
- Make the stuff run on Jack's machine (and hopefully all machines) in
stead of Guido's only (addpack stuff)
- Use the Universal Headers in stead of the Think headers
- Fixed the test programs to use the new routine names
Diffstat (limited to 'Mac/Modules/ae/aesupport.py')
-rw-r--r-- | Mac/Modules/ae/aesupport.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Mac/Modules/ae/aesupport.py b/Mac/Modules/ae/aesupport.py index a11e873..8e4c7a3 100644 --- a/Mac/Modules/ae/aesupport.py +++ b/Mac/Modules/ae/aesupport.py @@ -3,6 +3,8 @@ # It execs the file aegen.py which contain the function definitions # (aegen.py was generated by aescan.py, scanning the <AppleEvents.h> header file). +import addpack +addpack.addpack(':Tools:bgen:bgen') from macsupport import * @@ -65,9 +67,12 @@ EventHandlerNoRefCon = EHNoRefConType() IdleProcPtr = FakeType("upp_AEIdleProc") +AEIdleUPP = IdleProcPtr EventFilterProcPtr = FakeType("(AEFilterUPP)0") +AEFilterUPP = EventFilterProcPtr NMRecPtr = FakeType("(NMRecPtr)0") EventHandlerProcPtr = FakeType("upp_GenericEventHandler") +AEEventHandlerUPP = EventHandlerProcPtr AlwaysFalse = FakeType("0") |