[Python-checkins] python/dist/src/Mac/Modules/ae _AEmodule.c,1.15,1.16 aesupport.py,1.28,1.29

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
2002年12月13日 07:02:11 -0800


Update of /cvsroot/python/python/dist/src/Mac/Modules/ae
In directory sc8-pr-cvs1:/tmp/cvs-serv28591/Modules/ae
Modified Files:
	_AEmodule.c aesupport.py 
Log Message:
Get rid of support for Universal Headers older than 3.4 and various other
outdated things.
Index: _AEmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/ae/_AEmodule.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** _AEmodule.c	12 Dec 2002 10:31:49 -0000	1.15
--- _AEmodule.c	13 Dec 2002 15:01:27 -0000	1.16
***************
*** 39,47 ****
 #endif
 
- #if UNIVERSAL_INTERFACES_VERSION >= 0x0340
 typedef long refcontype;
- #else
- typedef unsigned long refcontype;
- #endif
 
 static pascal OSErr GenericEventHandler(const AppleEvent *request, AppleEvent *reply, refcontype refcon); /* Forward */
--- 39,43 ----
***************
*** 1427,1435 ****
 
 		upp_AEIdleProc = NewAEIdleUPP(AEIdleProc);
- #if UNIVERSAL_INTERFACES_VERSION >= 0x03400
- 		upp_GenericEventHandler = NewAEEventHandlerUPP(&GenericEventHandler);
- #else
 		upp_GenericEventHandler = NewAEEventHandlerUPP(GenericEventHandler);
- #endif
 		PyMac_INIT_TOOLBOX_OBJECT_NEW(AEDesc *, AEDesc_New);
 		PyMac_INIT_TOOLBOX_OBJECT_CONVERT(AEDesc, AEDesc_Convert);
--- 1423,1427 ----
Index: aesupport.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/ae/aesupport.py,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** aesupport.py	3 Dec 2002 23:40:18 -0000	1.28
--- aesupport.py	13 Dec 2002 15:01:32 -0000	1.29
***************
*** 101,109 ****
 #endif
 
- #if UNIVERSAL_INTERFACES_VERSION >= 0x0340
 typedef long refcontype;
- #else
- typedef unsigned long refcontype;
- #endif
 
 static pascal OSErr GenericEventHandler(const AppleEvent *request, AppleEvent *reply, refcontype refcon); /* Forward */
--- 101,105 ----
***************
*** 164,172 ****
 initstuff = initstuff + """
 	upp_AEIdleProc = NewAEIdleUPP(AEIdleProc);
- #if UNIVERSAL_INTERFACES_VERSION >= 0x03400
- 	upp_GenericEventHandler = NewAEEventHandlerUPP(&GenericEventHandler);
- #else
 	upp_GenericEventHandler = NewAEEventHandlerUPP(GenericEventHandler);
- #endif
 	PyMac_INIT_TOOLBOX_OBJECT_NEW(AEDesc *, AEDesc_New);
 	PyMac_INIT_TOOLBOX_OBJECT_CONVERT(AEDesc, AEDesc_Convert);
--- 160,164 ----

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