mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Don't blacklist ModalFilterUPP but always pass it as NULL. This enables the record routines to be generated.
This commit is contained in:
parent
e62ceac7d4
commit
6a60915843
2 changed files with 2 additions and 1 deletions
|
@ -64,6 +64,7 @@ class SoundScanner(Scanner):
|
||||||
'SndStopFilePlay',
|
'SndStopFilePlay',
|
||||||
'SndStartFilePlay',
|
'SndStartFilePlay',
|
||||||
'SndPauseFilePlay',
|
'SndPauseFilePlay',
|
||||||
|
'SndRecordToFile',
|
||||||
])]
|
])]
|
||||||
|
|
||||||
def makeblacklisttypes(self):
|
def makeblacklisttypes(self):
|
||||||
|
@ -78,7 +79,6 @@ class SoundScanner(Scanner):
|
||||||
"SoundComponentData",
|
"SoundComponentData",
|
||||||
"SoundComponentData_ptr",
|
"SoundComponentData_ptr",
|
||||||
"SoundConverter",
|
"SoundConverter",
|
||||||
"ModalFilterUPP",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
def makerepairinstructions(self):
|
def makerepairinstructions(self):
|
||||||
|
|
|
@ -45,6 +45,7 @@ SndCommand = OpaqueType('SndCommand', 'SndCmd')
|
||||||
SndCommand_ptr = OpaqueType('SndCommand', 'SndCmd')
|
SndCommand_ptr = OpaqueType('SndCommand', 'SndCmd')
|
||||||
SndListHandle = OpaqueByValueType("SndListHandle", "ResObj")
|
SndListHandle = OpaqueByValueType("SndListHandle", "ResObj")
|
||||||
SPBPtr = OpaqueByValueType("SPBPtr", "SPBObj")
|
SPBPtr = OpaqueByValueType("SPBPtr", "SPBObj")
|
||||||
|
ModalFilterUPP = FakeType("(ModalFilterUPP)0")
|
||||||
|
|
||||||
#
|
#
|
||||||
# NOTE: the following is pretty dangerous. For void pointers we pass buffer addresses
|
# NOTE: the following is pretty dangerous. For void pointers we pass buffer addresses
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue