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

@ -93,7 +93,7 @@ initstuff = initstuff + """
PyMac_INIT_TOOLBOX_OBJECT_CONVERT(Handle, OptResObj_Convert);
"""
module = MacModule('Res', 'Res', includestuff, finalstuff, initstuff)
module = MacModule('_Res', 'Res', includestuff, finalstuff, initstuff)
getattrHookCode = """
if (strcmp(name, "size") == 0)
@ -192,5 +192,5 @@ execfile('resedit.py')
for f in functions: module.add(f)
for f in resmethods: resobject.add(f)
SetOutputFileName('Resmodule.c')
SetOutputFileName('_Resmodule.c')
module.generate()