summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/waste/wastescan.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/waste/wastescan.py')
-rw-r--r--Mac/Modules/waste/wastescan.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/Mac/Modules/waste/wastescan.py b/Mac/Modules/waste/wastescan.py
index b501344..376ca4c 100644
--- a/Mac/Modules/waste/wastescan.py
+++ b/Mac/Modules/waste/wastescan.py
@@ -52,7 +52,6 @@ class MyScanner(Scanner):
"WEDispose",
"WESetInfo", # Argument type unknown...
"WEGetInfo",
- "WEGetObjectOwner", # Returns ref to existing WE
]
def makeblacklisttypes(self):
@@ -78,7 +77,12 @@ class MyScanner(Scanner):
# WEInsert
([('StScrpHandle', 'hStyles', 'InMode'), ('WESoupHandle', 'hSoup', 'InMode')],
- [('OptStScrpHandle', 'hStyles', 'InMode'), ('OptSoupHandle', 'hSoup', 'InMode')])
+ [('OptStScrpHandle', 'hStyles', 'InMode'), ('OptSoupHandle', 'hSoup', 'InMode')]),
+
+ # WEGetObjectOwner
+ ("WEGetObjectOwner",
+ [('WEReference', '*', 'ReturnMode')],
+ [('ExistingWEReference', '*', 'ReturnMode')])
]