summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/file/filescan.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-12-13 23:16:00 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-12-13 23:16:00 (GMT)
commit6d802a0ce35ea2d0058191e198edab2d87360278 (patch)
tree29583b6f552b609f64ef228b3b5873f952b27d52 /Mac/Modules/file/filescan.py
parentb2ef47b84efd289d9607348920d6000aad8324ff (diff)
downloadcpython-6d802a0ce35ea2d0058191e198edab2d87360278.zip
cpython-6d802a0ce35ea2d0058191e198edab2d87360278.tar.gz
cpython-6d802a0ce35ea2d0058191e198edab2d87360278.tar.bz2
Tweaks to make this module OS9-compatible.
Diffstat (limited to 'Mac/Modules/file/filescan.py')
-rw-r--r--Mac/Modules/file/filescan.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/Mac/Modules/file/filescan.py b/Mac/Modules/file/filescan.py
index 7a96d69..454fefc7 100644
--- a/Mac/Modules/file/filescan.py
+++ b/Mac/Modules/file/filescan.py
@@ -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')]
),