From: Jack Jansen Date: Tue, 5 Feb 2002 22:35:36 +0000 (+0000) Subject: Don't blacklist ModalFilterUPP but always pass it as NULL. This enables the record... X-Git-Tag: v2.3c1~6731 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a60915843b90cc90affe730a03b87131628d1dc;p=python Don't blacklist ModalFilterUPP but always pass it as NULL. This enables the record routines to be generated. --- diff --git a/Mac/Modules/snd/sndscan.py b/Mac/Modules/snd/sndscan.py index 1873c190de..560e2fd0eb 100644 --- a/Mac/Modules/snd/sndscan.py +++ b/Mac/Modules/snd/sndscan.py @@ -64,6 +64,7 @@ class SoundScanner(Scanner): 'SndStopFilePlay', 'SndStartFilePlay', 'SndPauseFilePlay', + 'SndRecordToFile', ])] def makeblacklisttypes(self): @@ -78,7 +79,6 @@ class SoundScanner(Scanner): "SoundComponentData", "SoundComponentData_ptr", "SoundConverter", - "ModalFilterUPP", ] def makerepairinstructions(self): diff --git a/Mac/Modules/snd/sndsupport.py b/Mac/Modules/snd/sndsupport.py index 91f3bb6e6c..47c17cebe0 100644 --- a/Mac/Modules/snd/sndsupport.py +++ b/Mac/Modules/snd/sndsupport.py @@ -45,6 +45,7 @@ SndCommand = OpaqueType('SndCommand', 'SndCmd') SndCommand_ptr = OpaqueType('SndCommand', 'SndCmd') SndListHandle = OpaqueByValueType("SndListHandle", "ResObj") SPBPtr = OpaqueByValueType("SPBPtr", "SPBObj") +ModalFilterUPP = FakeType("(ModalFilterUPP)0") # # NOTE: the following is pretty dangerous. For void pointers we pass buffer addresses