summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/cf/cfscan.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-07-01 22:04:02 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-07-01 22:04:02 (GMT)
commit340d98f564ac3ce8ee46b1f2c4f382718c10effe (patch)
tree1338525beed8ef675c7f14774d04eb7b8c6b289f /Mac/Modules/cf/cfscan.py
parentc468fd28b66b37f95963f9b99db097c16407b408 (diff)
downloadcpython-340d98f564ac3ce8ee46b1f2c4f382718c10effe.zip
cpython-340d98f564ac3ce8ee46b1f2c4f382718c10effe.tar.gz
cpython-340d98f564ac3ce8ee46b1f2c4f382718c10effe.tar.bz2
- Use weaklink generators so we can support OSX-only calls without crashing on OS9.
- Convert CFString to/from Python strings. Currently always MacRoman, to be fixed later (as is unicode support). Python->CFString conversion is automatic.
Diffstat (limited to 'Mac/Modules/cf/cfscan.py')
-rw-r--r--Mac/Modules/cf/cfscan.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Mac/Modules/cf/cfscan.py b/Mac/Modules/cf/cfscan.py
index 2d11867..7941875 100644
--- a/Mac/Modules/cf/cfscan.py
+++ b/Mac/Modules/cf/cfscan.py
@@ -83,9 +83,11 @@ class MyScanner(Scanner_OSX):
"CFStringGetPascalStringPtr", # TBD automatically
"CFStringGetCStringPtr",
"CFStringGetCharactersPtr",
+ "CFStringGetCString",
+ "CFStringGetCharacters",
# OSX only, to be done
- "CFURLCreateWithFileSystemPath",
- "CFURLCreateStringWithFileSystemPath",
+## "CFURLCreateWithFileSystemPath",
+## "CFURLCreateStringWithFileSystemPath",
]
def makegreylist(self):