diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-11-20 13:31:00 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-11-20 13:31:00 (GMT) |
commit | 7107c1aff301a65faed24642cdc08f82a1c41cd4 (patch) | |
tree | 1ce55f300f09be769722831564e22a9f49bbefa5 /Tools | |
parent | 3305d2487d76a8a24448d825e98f8afb4caa76ab (diff) | |
download | cpython-7107c1aff301a65faed24642cdc08f82a1c41cd4.zip cpython-7107c1aff301a65faed24642cdc08f82a1c41cd4.tar.gz cpython-7107c1aff301a65faed24642cdc08f82a1c41cd4.tar.bz2 |
Got rid of macglue.h, replacing it by pymactoolbox.h where relevant.
Cleaned up various things in the toolbox modules.
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/bgen/bgen/macsupport.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Tools/bgen/bgen/macsupport.py b/Tools/bgen/bgen/macsupport.py index b4885ad..eef6db8 100644 --- a/Tools/bgen/bgen/macsupport.py +++ b/Tools/bgen/bgen/macsupport.py @@ -142,12 +142,7 @@ UniChar_ptr = InputOnlyType("UniCharPtr", "u") # 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 */ #define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\\ @@ -200,11 +195,3 @@ class MacModule(Module): "Subclass which gets the exception initializer from macglue.c" 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') |