- 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.
This commit is contained in:
Jack Jansen 2001-07-01 22:04:02 +00:00
parent c468fd28b6
commit 340d98f564
2 changed files with 41 additions and 5 deletions

View file

@ -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):