summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-02-05 22:35:36 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-02-05 22:35:36 (GMT)
commit6a60915843b90cc90affe730a03b87131628d1dc (patch)
tree879a59846d8153dec053f171795e1a15cee0bf7e /Mac
parente62ceac7d43637aa23bdad135cb36f67d27f4900 (diff)
downloadcpython-6a60915843b90cc90affe730a03b87131628d1dc.zip
cpython-6a60915843b90cc90affe730a03b87131628d1dc.tar.gz
cpython-6a60915843b90cc90affe730a03b87131628d1dc.tar.bz2
Don't blacklist ModalFilterUPP but always pass it as NULL. This enables the record routines to be generated.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Modules/snd/sndscan.py2
-rw-r--r--Mac/Modules/snd/sndsupport.py1
2 files changed, 2 insertions, 1 deletions
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