diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1995-06-06 13:08:40 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1995-06-06 13:08:40 (GMT) |
commit | b81cf9d61c71f9b5949b9424cec1f59ac4a426e8 (patch) | |
tree | 2b8fdc1f0dfd48b31a650f5a41864a8dc0b5ea7e /Mac/Modules/evt/evtscan.py | |
parent | ae8a68f40cd56aa952520260970ebd5b9d3fb95c (diff) | |
download | cpython-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.py | 10 |
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() |