mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Regenerated from Universal Headers 3.0.1. Some new calls are
blacklisted, because they are not available in classic 68k programs, and bgen doesn't have a way to put #ifdef/#endif in the generated code. For now we only implement calls that work on all three models.
This commit is contained in:
parent
cbe6a53d1f
commit
21f96872f2
28 changed files with 3151 additions and 1434 deletions
|
@ -31,6 +31,9 @@ class SoundScanner(Scanner):
|
|||
listname = "sndmethods"
|
||||
return classname, listname
|
||||
|
||||
def writeinitialdefs(self):
|
||||
self.defsfile.write("def FOUR_CHAR_CODE(x): return x\n")
|
||||
|
||||
def makeblacklistnames(self):
|
||||
return [
|
||||
'SndDisposeChannel', # automatic on deallocation
|
||||
|
@ -44,9 +47,12 @@ class SoundScanner(Scanner):
|
|||
'GetSoundPreference',
|
||||
'SetSoundPreference',
|
||||
'GetCompressionInfo',
|
||||
'GetCompressionName',
|
||||
# Calls with void_ptr arguments (to be done).
|
||||
'SndGetInfo',
|
||||
'SndSetInfo',
|
||||
'SPBGetDeviceInfo',
|
||||
'SPBSetDeviceInfo',
|
||||
# And old calls that are no longer supported
|
||||
'SetSoundVol',
|
||||
'GetSoundVol',
|
||||
|
@ -60,6 +66,13 @@ class SoundScanner(Scanner):
|
|||
"UnsignedFixed",
|
||||
# Don't have the time to dig into this...
|
||||
"Component",
|
||||
"ComponentInstance",
|
||||
"SoundComponentDataPtr",
|
||||
"SoundComponentData",
|
||||
"SoundComponentData_ptr",
|
||||
"SoundConverter",
|
||||
"ModalFilterUPP",
|
||||
"SPBPtr",
|
||||
]
|
||||
|
||||
def makerepairinstructions(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue