[Python-checkins] python/dist/src/Tools/bgen/bgen macsupport.py, 1.29, 1.30

jackjansen at users.sourceforge.net jackjansen at users.sourceforge.net
Thu Nov 20 08:31:02 EST 2003


Update of /cvsroot/python/python/dist/src/Tools/bgen/bgen
In directory sc8-pr-cvs1:/tmp/cvs-serv7692/Tools/bgen/bgen
Modified Files:
	macsupport.py 
Log Message:
Got rid of macglue.h, replacing it by pymactoolbox.h where relevant.
Cleaned up various things in the toolbox modules.
Index: macsupport.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/bgen/bgen/macsupport.py,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** macsupport.py	19 Jan 2003 21:53:57 -0000	1.29
--- macsupport.py	20 Nov 2003 13:31:00 -0000	1.30
***************
*** 143,152 ****
 # Stuff added immediately after the system include files
 includestuff = """
- #ifdef _WIN32
- #include "pywintoolbox.h"
- #else
- #include "macglue.h"
 #include "pymactoolbox.h"
- #endif
 
 /* Macro to test whether a weak-loaded CFM function exists */
--- 143,147 ----
***************
*** 201,210 ****
 def exceptionInitializer(self):
 return "PyMac_GetOSErrException()"
- 
- _SetOutputFileName = SetOutputFileName # Save original
- def SetOutputFileName(file = None):
- "Set the output file name and set its creator&type to CWIE&TEXT"
- _SetOutputFileName(file)
- if file:
- import MacOS
- MacOS.SetCreatorAndType(file, 'CWIE', 'TEXT')
--- 196,197 ----


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /