From 6a60915843b90cc90affe730a03b87131628d1dc Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Tue, 5 Feb 2002 22:35:36 +0000 Subject: Don't blacklist ModalFilterUPP but always pass it as NULL. This enables the record routines to be generated. --- Mac/Modules/snd/sndscan.py | 2 +- Mac/Modules/snd/sndsupport.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Mac/Modules/snd/sndscan.py b/Mac/Modules/snd/sndscan.py index 1873c19..560e2fd 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 91f3bb6..47c17ce 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 -- cgit v0.12