mirror of
https://github.com/python/cpython.git
synced 2025-11-01 14:11:41 +00:00
Regenerated (and manually massaged for PutScrap) so it can be byuilt both for Carbon and Classic. The Carbon module is rather empty, though, for now.
This commit is contained in:
parent
5396feb3bb
commit
7b3cc1f9c3
3 changed files with 160 additions and 69 deletions
|
@ -35,13 +35,28 @@ def makeblacklistnames(self):
|
|||
return [
|
||||
]
|
||||
|
||||
def makegreylist(self):
|
||||
return [
|
||||
('#if !TARGET_API_MAC_CARBON', [
|
||||
'InfoScrap',
|
||||
'GetScrap',
|
||||
'ZeroScrap',
|
||||
'PutScrap',
|
||||
]),
|
||||
('#if TARGET_API_MAC_CARBON', [
|
||||
'CallInScrapPromises',
|
||||
'ClearCurrentScrap',
|
||||
])]
|
||||
|
||||
def makeblacklisttypes(self):
|
||||
return [
|
||||
"ScrapRef", # For now -- This is the Carbon scrap main object
|
||||
]
|
||||
|
||||
def makerepairinstructions(self):
|
||||
return [
|
||||
([('void', '*', 'OutMode')], [('putscrapbuffer', '*', 'InMode')]),
|
||||
([('void_ptr', '*', 'InMode')], [('putscrapbuffer', '*', 'InMode')]),
|
||||
]
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue