diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1998-04-24 10:28:20 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1998-04-24 10:28:20 (GMT) |
commit | e180d99280a7b7615d445a52efd63314f330e74b (patch) | |
tree | 806d4c6302ec0e534ecbf50b830339571d34bc52 /Mac/Modules/menu/menuscan.py | |
parent | 6a508aef7d024921b00a1c8fe635f19b0fa6a98f (diff) | |
download | cpython-e180d99280a7b7615d445a52efd63314f330e74b.zip cpython-e180d99280a7b7615d445a52efd63314f330e74b.tar.gz cpython-e180d99280a7b7615d445a52efd63314f330e74b.tar.bz2 |
Grmpf, a lot more routines have gotten a "Mac" prefix for their
declaration, probably so the universal headers are useable on
windows/unix too. Have to think of a more definite workaround later,
for now we manually declare the old names in the *edit.py files.
Diffstat (limited to 'Mac/Modules/menu/menuscan.py')
-rw-r--r-- | Mac/Modules/menu/menuscan.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Mac/Modules/menu/menuscan.py b/Mac/Modules/menu/menuscan.py index d5016be..b332657 100644 --- a/Mac/Modules/menu/menuscan.py +++ b/Mac/Modules/menu/menuscan.py @@ -58,5 +58,8 @@ class MyScanner(Scanner): [("VarVarOutBuffer", "*", "InOutMode")]), ] + def writeinitialdefs(self): + self.defsfile.write("def FOUR_CHAR_CODE(x): return x\n") + if __name__ == "__main__": main() |