mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Tweaks to make this module OS9-compatible.
This commit is contained in:
parent
b2ef47b84e
commit
6d802a0ce3
3 changed files with 31 additions and 13 deletions
|
@ -89,6 +89,14 @@ class MyScanner(Scanner_OSX):
|
|||
|
||||
]
|
||||
|
||||
def makegreylist(self):
|
||||
return [
|
||||
('#if TARGET_API_MAC_OSX', [
|
||||
'FNNotifyAll',
|
||||
'FNNotifyByPath',
|
||||
'FNNotify',
|
||||
])]
|
||||
|
||||
def makeblacklisttypes(self):
|
||||
return [
|
||||
"CInfoPBPtr", # Old stuff
|
||||
|
@ -127,10 +135,6 @@ class MyScanner(Scanner_OSX):
|
|||
def makerepairinstructions(self):
|
||||
return [
|
||||
# Various ways to give pathnames
|
||||
([('UInt8_ptr', 'path', 'InMode')],
|
||||
[('stringptr', 'path', 'InMode')]
|
||||
),
|
||||
|
||||
([('char_ptr', '*', 'InMode')],
|
||||
[('stringptr', '*', 'InMode')]
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue