summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/res/resscan.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/res/resscan.py')
-rw-r--r--Mac/Modules/res/resscan.py28
1 files changed, 7 insertions, 21 deletions
diff --git a/Mac/Modules/res/resscan.py b/Mac/Modules/res/resscan.py
index 51bf38d..47a19a6 100644
--- a/Mac/Modules/res/resscan.py
+++ b/Mac/Modules/res/resscan.py
@@ -45,33 +45,19 @@ class ResourcesScanner(Scanner):
## "RmveResource", # RemoveResource
## "SizeResource", # GetResourceSizeOnDisk
## "MaxSizeRsrc", # GetMaxResourceSize
+ # OS8 only
+ 'RGetResource',
+ 'OpenResFile',
+ 'CreateResFile',
+ 'RsrcZoneInit',
+ 'InitResources',
+ 'RsrcMapEntry',
]
def makeblacklisttypes(self):
return [
]
- def makegreylist(self):
- return [
- ('#if TARGET_API_MAC_OS8', [
- 'RGetResource',
- 'OpenResFile',
- 'CreateResFile',
- 'RsrcZoneInit',
- 'InitResources',
- 'RsrcMapEntry',
- ]),
- ('#if TARGET_API_MAC_CARBON', [
- 'GetNextResourceFile',
- 'GetTopResourceFile',
- 'FSpOpenOrphanResFile',
- 'DetachResourceFile',
- 'InsertResourceFile',
- 'FSpResourceFileAlreadyOpen',
- 'FSOpenResourceFile',
- 'FSCreateResourceFile',
- ])]
-
def makerepairinstructions(self):
return [
([("Str255", "*", "InMode")],