summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/ae/aescan.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-06-05 22:34:12 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-06-05 22:34:12 (GMT)
commitc7cfb9555974e2e3789a629f1b7509eaa73ee2c6 (patch)
tree38d683d1f4a7affc89ac209a61f23d0c26715446 /Mac/Modules/ae/aescan.py
parentf301dcac737bdd38fa919a0cfb9f52b4a1b85ed1 (diff)
downloadcpython-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/aescan.py')
-rw-r--r--Mac/Modules/ae/aescan.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/Mac/Modules/ae/aescan.py b/Mac/Modules/ae/aescan.py
index 75003ec..8e74e18 100644
--- a/Mac/Modules/ae/aescan.py
+++ b/Mac/Modules/ae/aescan.py
@@ -2,6 +2,8 @@
# Then run aesupport to generate AEmodule.c.
0# (Should learn how to tell the compiler to compile it as well.)
+import addpack
+addpack.addpack(':Tools:bgen:bgen')
import sys
import os
import string
@@ -46,6 +48,8 @@ class AppleEventsScanner(Scanner):
return [
"ProcPtr",
"AEArrayType",
+ "AECoercionHandlerUPP",
+ "UniversalProcPtr",
]
def makerepairinstructions(self):
@@ -65,6 +69,9 @@ class AppleEventsScanner(Scanner):
([("void", "*", "OutMode"), ("Size", "*", "InMode"),
("Size", "*", "OutMode")],
[("VarVarOutBuffer", "*", "InOutMode")]),
+
+ ([("AppleEvent", "theAppleEvent", "OutMode")],
+ [("AppleEvent_ptr", "*", "InMode")]),
]
if __name__ == "__main__":