[Python-checkins] CVS: python/dist/src/Mac/Modules/res ressupport.py,1.15,1.16
Jack Jansen
jackjansen@users.sourceforge.net
Thu, 23 Aug 2001 06:50:44 -0700
Update of /cvsroot/python/python/dist/src/Mac/Modules/res
In directory usw-pr-cvs1:/tmp/cvs-serv27691/Python/Mac/Modules/res
Modified Files:
ressupport.py
Log Message:
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.
Index: ressupport.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/res/ressupport.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** ressupport.py 2001/05/22 21:55:14 1.15
--- ressupport.py 2001/08/23 13:50:42 1.16
***************
*** 94,98 ****
"""
! module = MacModule('Res', 'Res', includestuff, finalstuff, initstuff)
getattrHookCode = """
--- 94,98 ----
"""
! module = MacModule('_Res', 'Res', includestuff, finalstuff, initstuff)
getattrHookCode = """
***************
*** 193,196 ****
for f in resmethods: resobject.add(f)
! SetOutputFileName('Resmodule.c')
module.generate()
--- 193,196 ----
for f in resmethods: resobject.add(f)
! SetOutputFileName('_Resmodule.c')
module.generate()