summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/icn/icnscan.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-12-03 23:20:13 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-12-03 23:20:13 (GMT)
commitda6081fccb71541004e3f36f57a9c0971a969e3b (patch)
tree1e2beac551e87964061e6fd9bfca22b35f1c7f2a /Mac/Modules/icn/icnscan.py
parentfe3fe4adb5c7a72bfec3c5b7b8ec5e42d8ccc625 (diff)
downloadcpython-da6081fccb71541004e3f36f57a9c0971a969e3b.zip
cpython-da6081fccb71541004e3f36f57a9c0971a969e3b.tar.gz
cpython-da6081fccb71541004e3f36f57a9c0971a969e3b.tar.bz2
Ported to Universal Headers 3.4.2. Qd and Qt remain to be done.
Completely untested.
Diffstat (limited to 'Mac/Modules/icn/icnscan.py')
-rw-r--r--Mac/Modules/icn/icnscan.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mac/Modules/icn/icnscan.py b/Mac/Modules/icn/icnscan.py
index 138cc62..c6a39f3 100644
--- a/Mac/Modules/icn/icnscan.py
+++ b/Mac/Modules/icn/icnscan.py
@@ -48,6 +48,8 @@ class MyScanner(Scanner):
"err",
# OS8 only
'IconServicesTerminate',
+ # Lazy, right now.
+ "GetIconRefFromFileInfo"
]
def makeblacklisttypes(self):
@@ -55,6 +57,7 @@ class MyScanner(Scanner):
"IconActionUPP",
"IconGetterUPP",
"CFragInitBlockPtr",
+ "CGRect_ptr",
]
def makerepairinstructions(self):
@@ -63,6 +66,7 @@ class MyScanner(Scanner):
def writeinitialdefs(self):
self.defsfile.write("def FOUR_CHAR_CODE(x): return x\n")
+ self.defsfile.write("from Carbon.Files import *\n")
if __name__ == "__main__":
main()