Getting rid of pre-Carbon (MacOS8) support. All code depending on

TARGET_API_MAC_OS8 (or !TARGET_API_MAC_CARBON) is gone. Also some
TARGET_API_MAC_OSX conditional code is gone, because it is no longer
used on OSX-only Python (only in MacPython-OS9).
This commit is contained in:
Jack Jansen 2002-12-12 10:31:54 +00:00
parent 6bf45c6752
commit 6c7e326eaa
54 changed files with 100 additions and 5242 deletions

View file

@ -36,21 +36,6 @@ class MyScanner(Scanner):
listname = "methods"
return classname, listname
def makegreylist(self):
return [
('#if !TARGET_API_MAC_CARBON', [
'SystemEvent',
'SystemTask',
'SystemClick',
'GetOSEvent',
'OSEventAvail',
]),
('#if TARGET_API_MAC_CARBON', [
'CheckEventQueueForUserCancel',
'GetCurrentKeyModifiers',
'GetGlobalMouse',
])]
def makeblacklistnames(self):
return [
"KeyTranslate",
@ -58,6 +43,12 @@ class MyScanner(Scanner):
"WaitNextEvent", # Manually generated because of optional region
# Constants with funny definitions
"osEvtMessageMask",
# OS8 calls
'SystemEvent',
'SystemTask',
'SystemClick',
'GetOSEvent',
'OSEventAvail',
]
def makeblacklisttypes(self):