[Python-checkins] CVS: python/dist/src/Mac/Include macglue.h,1.57,1.58

Jack Jansen jackjansen@users.sourceforge.net
Mon, 10 Sep 2001 15:00:41 -0700


Update of /cvsroot/python/python/dist/src/Mac/Include
In directory usw-pr-cvs1:/tmp/cvs-serv10457/Mac/Include

Modified Files:
	macglue.h 
Log Message:
Replaced PyMac_FullPath by PyMac_FullPathname, which has an extra 'length'
parameter for the return string (as unix pathnames are not limited
by the 255 char pstring limit).
Implemented the function for MachO-Python, where it returns unix pathnames.


Index: macglue.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Include/macglue.h,v
retrieving revision 1.57
retrieving revision 1.58
diff -C2 -d -r1.57 -r1.58
*** macglue.h	2001/09/01 23:39:58	1.57
--- macglue.h	2001/09/10 22:00:39	1.58
***************
*** 63,67 ****
  extern char PyMac_ApplicationPath[];		/* Application location (from macargv.c) */
  extern OSErr PyMac_init_application_location(void);	/* Init the above */
- extern OSErr PyMac_GetFullPath(FSSpec *, char *); /* convert fsspec->path (macargv.c) */
  extern int PyMac_GetArgv(char ***, int);	/* Get argc, argv (from macargv.c) */
  extern int PyMac_AppearanceCompliant;	/* True if in appearance support mode */
--- 63,66 ----