summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/waste/wastescan.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-05-07 15:24:01 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-05-07 15:24:01 (GMT)
commit756522f4269b869d5f9482f9b6c967099ba98ff3 (patch)
tree06c7d080ae7998450d76556d7dc509f36c773406 /Mac/Modules/waste/wastescan.py
parent316a430098b10a3483925eeeaa84c68d404d4416 (diff)
downloadcpython-756522f4269b869d5f9482f9b6c967099ba98ff3.zip
cpython-756522f4269b869d5f9482f9b6c967099ba98ff3.tar.gz
cpython-756522f4269b869d5f9482f9b6c967099ba98ff3.tar.bz2
Added support for callbacks (for embedded objects)
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')])
]