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.

This commit is contained in:
Jack Jansen 2001-08-23 13:51:46 +00:00
parent 88e0b5bee0
commit 77105a960b
26 changed files with 178 additions and 172 deletions

View file

@ -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()