summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/evt/evtscan.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-06-06 13:08:40 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-06-06 13:08:40 (GMT)
commitb81cf9d61c71f9b5949b9424cec1f59ac4a426e8 (patch)
tree2b8fdc1f0dfd48b31a650f5a41864a8dc0b5ea7e /Mac/Modules/evt/evtscan.py
parentae8a68f40cd56aa952520260970ebd5b9d3fb95c (diff)
downloadcpython-b81cf9d61c71f9b5949b9424cec1f59ac4a426e8.zip
cpython-b81cf9d61c71f9b5949b9424cec1f59ac4a426e8.tar.gz
cpython-b81cf9d61c71f9b5949b9424cec1f59ac4a426e8.tar.bz2
Trying again to check it in. Changes to:
- Use Universal Headers as input - Change addpack calls to not depend on Guido's disklayout - Checkge testprograms to use new names for some functions
Diffstat (limited to 'Mac/Modules/evt/evtscan.py')
-rw-r--r--Mac/Modules/evt/evtscan.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/Mac/Modules/evt/evtscan.py b/Mac/Modules/evt/evtscan.py
index 517db71..70a9df9 100644
--- a/Mac/Modules/evt/evtscan.py
+++ b/Mac/Modules/evt/evtscan.py
@@ -1,5 +1,7 @@
# Scan an Apple header file, generating a Python file of generator calls.
+import addpack
+addpack.addpack(':tools:bgen:bgen')
from scantools import Scanner
LONG = "Events"
@@ -32,10 +34,12 @@ class MyScanner(Scanner):
def makeblacklistnames(self):
return [
+ "KeyTranslate"
]
def makeblacklisttypes(self):
return [
+ "EvQElPtr", "QHdrPtr"
]
def makerepairinstructions(self):
@@ -53,7 +57,11 @@ class MyScanner(Scanner):
# GetKeys
([('KeyMap', 'theKeys', 'InMode')],
[('*', '*', 'OutMode')]),
+
+ # GetTicker
+ ([('unsigned long', '*', '*')],
+ [('unsigned_long', '*', '*')]),
]
-
+
if __name__ == "__main__":
main()