Tweaks to make this module OS9-compatible.
diff --git a/Mac/Modules/file/filescan.py b/Mac/Modules/file/filescan.py
index 7a96d69..454fefc 100644
--- a/Mac/Modules/file/filescan.py
+++ b/Mac/Modules/file/filescan.py
@@ -89,6 +89,14 @@
]
+ def makegreylist(self):
+ return [
+ ('#if TARGET_API_MAC_OSX', [
+ 'FNNotifyAll',
+ 'FNNotifyByPath',
+ 'FNNotify',
+ ])]
+
def makeblacklisttypes(self):
return [
"CInfoPBPtr", # Old stuff
@@ -127,10 +135,6 @@
def makerepairinstructions(self):
return [
# Various ways to give pathnames
- ([('UInt8_ptr', 'path', 'InMode')],
- [('stringptr', 'path', 'InMode')]
- ),
-
([('char_ptr', '*', 'InMode')],
[('stringptr', '*', 'InMode')]
),