- 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.
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 @@
"CFStringGetPascalStringPtr", # TBD automatically
"CFStringGetCStringPtr",
"CFStringGetCharactersPtr",
+ "CFStringGetCString",
+ "CFStringGetCharacters",
# OSX only, to be done
- "CFURLCreateWithFileSystemPath",
- "CFURLCreateStringWithFileSystemPath",
+## "CFURLCreateWithFileSystemPath",
+## "CFURLCreateStringWithFileSystemPath",
]
def makegreylist(self):