diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-07-01 22:04:02 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-07-01 22:04:02 (GMT) |
commit | 340d98f564ac3ce8ee46b1f2c4f382718c10effe (patch) | |
tree | 1338525beed8ef675c7f14774d04eb7b8c6b289f /Mac/Modules/cf/cfscan.py | |
parent | c468fd28b66b37f95963f9b99db097c16407b408 (diff) | |
download | cpython-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.py | 6 |
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): |