summaryrefslogtreecommitdiff
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-02-05 22:35:36 +0000
committerJack Jansen <jack.jansen@cwi.nl>2002-02-05 22:35:36 +0000
commit96f8758d4ee5b4516df90e907ab2004d4d835c6b (patch)
treef7062689bec9347cfa9ea5f02b3b8ace16853e41 /Mac
parenta1d51b89f73bed39f5c62ed56572d6c80a394d08 (diff)
downloadcpython-96f8758d4ee5b4516df90e907ab2004d4d835c6b.tar.gz
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 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