[Python-checkins] CVS: python/dist/src/Python mactoolboxglue.c,1.4,1.5

Jack Jansen jackjansen@users.sourceforge.net
Sat, 01 Sep 2001 16:39:45 -0700


Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv3096/Python/Python

Modified Files:
	mactoolboxglue.c 
Log Message:
Added glue routine for PyMac_BuildFSSpec, PyMac_GetFSRef and PyMac_BuildFSRef.

Moved the declarations to pymactoolbox.h.

Index: mactoolboxglue.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/mactoolboxglue.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** mactoolboxglue.c	2001/08/27 14:01:05	1.4
--- mactoolboxglue.c	2001/09/01 23:39:43	1.5
***************
*** 347,351 ****
--- 347,355 ----
      return (*PyMacGluePtr_##routinename)(pyobj, cobj); \
  }
+ 
+ GLUE_NEW(FSSpec *, PyMac_BuildFSSpec, "macfs")
  GLUE_CONVERT(FSSpec, PyMac_GetFSSpec, "macfs")
+ GLUE_NEW(FSRef *, PyMac_BuildFSRef, "macfs")
+ GLUE_CONVERT(FSRef, PyMac_GetFSRef, "macfs")
  
  GLUE_NEW(AppleEvent *, AEDesc_New, "Carbon.AE") /* XXXX Why by address? */