diff options
Diffstat (limited to 'Mac/Modules/win/winscan.py')
-rw-r--r-- | Mac/Modules/win/winscan.py | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/Mac/Modules/win/winscan.py b/Mac/Modules/win/winscan.py index 22f0d1a..b0f0fb3 100644 --- a/Mac/Modules/win/winscan.py +++ b/Mac/Modules/win/winscan.py @@ -41,10 +41,33 @@ class MyScanner(Scanner): 'GetWindowProperty', 'GetWindowPropertySize', 'RemoveWindowProperty', + 'MacCloseWindow', # Constants with funny definitions 'kMouseUpOutOfSlop', ] - + + def makegreylist(self): + return [ + ('#ifndef TARGET_API_MAC_CARBON', [ + 'GetAuxWin', + 'GetWindowDataHandle', + 'SaveOld', + 'DrawNew', + 'SetWinColor', + 'SetDeskCPat', + 'InitWindows', + 'InitFloatingWindows', + 'GetWMgrPort', + 'GetCWMgrPort', + 'ValidRgn', # Use versions with Window in their name + 'ValidRect', + 'InvalRgn', + 'InvalRect', + ]), + ('#ifndef TARGET_API_MAC_CARBON_NOTYET', [ + 'IsValidWindowPtr', + ])] + def makeblacklisttypes(self): return [ 'ProcPtr', |