mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +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
|
@ -164,7 +164,7 @@ initstuff = initstuff + """
|
|||
PyMac_INIT_TOOLBOX_OBJECT_CONVERT(AEDesc, AEDesc_Convert);
|
||||
"""
|
||||
|
||||
module = MacModule('AE', 'AE', includestuff, finalstuff, initstuff)
|
||||
module = MacModule('_AE', 'AE', includestuff, finalstuff, initstuff)
|
||||
|
||||
class AEDescDefinition(GlobalObjectDefinition):
|
||||
|
||||
|
@ -222,5 +222,5 @@ execfile('aegen.py')
|
|||
for f in functions: module.add(f)
|
||||
for f in aedescmethods: aedescobject.add(f)
|
||||
|
||||
SetOutputFileName('AEmodule.c')
|
||||
SetOutputFileName('_AEmodule.c')
|
||||
module.generate()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue