mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
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:
parent
88e0b5bee0
commit
77105a960b
26 changed files with 178 additions and 172 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue