Tweaks to make this module OS9-compatible.

This commit is contained in:
Jack Jansen 2002-12-13 23:16:00 +00:00
parent b2ef47b84e
commit 6d802a0ce3
3 changed files with 31 additions and 13 deletions

View file

@ -89,6 +89,14 @@ class MyScanner(Scanner_OSX):
]
def makegreylist(self):
return [
('#if TARGET_API_MAC_OSX', [
'FNNotifyAll',
'FNNotifyByPath',
'FNNotify',
])]
def makeblacklisttypes(self):
return [
"CInfoPBPtr", # Old stuff
@ -127,10 +135,6 @@ class MyScanner(Scanner_OSX):
def makerepairinstructions(self):
return [
# Various ways to give pathnames
([('UInt8_ptr', 'path', 'InMode')],
[('stringptr', 'path', 'InMode')]
),
([('char_ptr', '*', 'InMode')],
[('stringptr', '*', 'InMode')]
),