summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/launch
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2004-02-24 21:49:10 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2004-02-24 21:49:10 (GMT)
commite7e9bf272729c052ffba1208f1058a790be9c47b (patch)
tree906d71992ad4a47b8b87b253278cfdc8f3b42683 /Mac/Modules/launch
parent49be4cc8616d7ed6a982cfb9d5d9d75c18266943 (diff)
downloadcpython-e7e9bf272729c052ffba1208f1058a790be9c47b.zip
cpython-e7e9bf272729c052ffba1208f1058a790be9c47b.tar.gz
cpython-e7e9bf272729c052ffba1208f1058a790be9c47b.tar.bz2
kLsUnknownType and kLSUnknownCreator were ints in stead of OSTypes.
Reported by Bob Ippolito.
Diffstat (limited to 'Mac/Modules/launch')
-rw-r--r--Mac/Modules/launch/launchscan.py4
-rw-r--r--Mac/Modules/launch/setup.py2
2 files changed, 5 insertions, 1 deletions
diff --git a/Mac/Modules/launch/launchscan.py b/Mac/Modules/launch/launchscan.py
index 01f68f5..bdda1de 100644
--- a/Mac/Modules/launch/launchscan.py
+++ b/Mac/Modules/launch/launchscan.py
@@ -42,6 +42,8 @@ class MyScanner(Scanner):
self.defsfile.write("from Carbon.Files import *\n")
self.defsfile.write("kLSRequestAllInfo = -1\n")
self.defsfile.write("kLSRolesAll = -1\n")
+ self.defsfile.write("kLSUnknownType = FOUR_CHAR_CODE('\\0\\0\\0\\0')\n")
+ self.defsfile.write("kLSUnknownCreator = FOUR_CHAR_CODE('\\0\\0\\0\\0')\n")
self.defsfile.write("kLSInvalidExtensionIndex = -1\n")
def makeblacklistnames(self):
@@ -51,6 +53,8 @@ class MyScanner(Scanner):
"kLSRequestAllInfo",
"kLSRolesAll",
"kLSInvalidExtensionIndex",
+ "kLSUnknownType",
+ "kLSUnknownCreator"
]
def makeblacklisttypes(self):
diff --git a/Mac/Modules/launch/setup.py b/Mac/Modules/launch/setup.py
index 4b101cf..ccf8ee7 100644
--- a/Mac/Modules/launch/setup.py
+++ b/Mac/Modules/launch/setup.py
@@ -3,7 +3,7 @@
from distutils.core import Extension, setup
-setup(name="LaunchServices", version="0.1",
+setup(name="LaunchServices", version="0.2",
ext_modules=[
Extension('_Launch', ['_Launchmodule.c'],
extra_link_args=['-framework', 'ApplicationServices'])