[Python-checkins] CVS: python/dist/src/Python dynload_mac.c,2.3,2.4

Guido van Rossum python-dev@python.org
2000年4月24日 11:08:03 -0400 (EDT)


Update of /projects/cvsroot/python/dist/src/Python
In directory eric:/projects/python/develop/guido/src/Python
Modified Files:
	dynload_mac.c 
Log Message:
Jack Jansen: The new version of the GUSI i/o library on the Macintosh
has a few slightly different calls from the old one.
Index: dynload_mac.c
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Python/dynload_mac.c,v
retrieving revision 2.3
retrieving revision 2.4
diff -C2 -r2.3 -r2.4
*** dynload_mac.c	2000年02月14日 17:58:25	2.3
--- dynload_mac.c	2000年04月24日 15:08:01	2.4
***************
*** 41,45 ****
 #define kLoadCFrag 0x01
 #endif
! #ifdef USE_GUSI
 #include "TFileSpec.h"		/* for Path2FSSpec() */
 #endif
--- 41,45 ----
 #define kLoadCFrag 0x01
 #endif
! #ifdef USE_GUSI1
 #include "TFileSpec.h"		/* for Path2FSSpec() */
 #endif
***************
*** 79,83 ****
 	Str255 errMessage;
 	OSErr err;
! #ifndef USE_GUSI
 	Boolean isfolder, didsomething;
 #endif
--- 79,83 ----
 	Str255 errMessage;
 	OSErr err;
! #ifndef USE_GUSI1
 	Boolean isfolder, didsomething;
 #endif
***************
*** 88,92 ****
 		
 	/* First resolve any aliases to find the real file */
! #ifdef USE_GUSI
 	err = Path2FSSpec(pathname, &libspec);
 #else
--- 88,92 ----
 		
 	/* First resolve any aliases to find the real file */
! #ifdef USE_GUSI1
 	err = Path2FSSpec(pathname, &libspec);
 #else

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