diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1998-02-20 16:02:09 +0000 |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1998-02-20 16:02:09 +0000 |
commit | 9ddf668ea3635a48d59c901fdb27a77d15ca8836 (patch) | |
tree | 7616218b94895f89b026e7f630237fe00a587574 /Mac/Modules/qt | |
parent | f42ad474f9d1678166afe1792a5339559a71950c (diff) | |
download | cpython-9ddf668ea3635a48d59c901fdb27a77d15ca8836.tar.gz |
Regenerated from Universal Headers 3.0.1. Some new calls are
blacklisted, because they are not available in classic 68k programs,
and bgen doesn't have a way to put #ifdef/#endif in the generated
code. For now we only implement calls that work on all three models.
Diffstat (limited to 'Mac/Modules/qt')
-rw-r--r-- | Mac/Modules/qt/qtscan.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Mac/Modules/qt/qtscan.py b/Mac/Modules/qt/qtscan.py index 3cef0f91c1..ebef23bbb2 100644 --- a/Mac/Modules/qt/qtscan.py +++ b/Mac/Modules/qt/qtscan.py @@ -32,6 +32,9 @@ class MyScanner(Scanner): listname = t + "_methods" return classname, listname + def writeinitialdefs(self): + self.defsfile.write("def FOUR_CHAR_CODE(x): return x\n") + def makeblacklistnames(self): return [ "DisposeMovie", # Done on python-object disposal |