summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/snd
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-08-23 13:51:46 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-08-23 13:51:46 (GMT)
commit77105a960b078d79a4e7827b320e66217a78a0f8 (patch)
treed1fe67a54dc00b2dcb552d3187efd2fd9f2b2794 /Mac/Modules/snd
parent88e0b5bee0e69b628a9358c987bf49ac885d1c21 (diff)
downloadcpython-77105a960b078d79a4e7827b320e66217a78a0f8.zip
cpython-77105a960b078d79a4e7827b320e66217a78a0f8.tar.gz
cpython-77105a960b078d79a4e7827b320e66217a78a0f8.tar.bz2
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Diffstat (limited to 'Mac/Modules/snd')
-rw-r--r--Mac/Modules/snd/sndsupport.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/snd/sndsupport.py b/Mac/Modules/snd/sndsupport.py
index dcaa654..9c100ac 100644
--- a/Mac/Modules/snd/sndsupport.py
+++ b/Mac/Modules/snd/sndsupport.py
@@ -334,7 +334,7 @@ class SpbObjectDefinition(ObjectDefinition):
sndobject = SndObjectDefinition('SndChannel', 'SndCh', 'SndChannelPtr')
spbobject = SpbObjectDefinition('SPB', 'SPBObj', 'SPBPtr')
spbgenerator = ManualGenerator("SPB", "return SPBObj_New();")
-module = MacModule('Snd', 'Snd', includestuff, finalstuff, initstuff)
+module = MacModule('_Snd', 'Snd', includestuff, finalstuff, initstuff)
module.addobject(sndobject)
module.addobject(spbobject)
module.add(spbgenerator)
@@ -359,5 +359,5 @@ for f in sndmethods: sndobject.add(f)
# generate output
-SetOutputFileName('Sndmodule.c')
+SetOutputFileName('_Sndmodule.c')
module.generate()