Use Carbon.File for FSSpec and FSRef conversion, not macfs.
authorJack Jansen <jack.jansen@cwi.nl>
Sun, 2 Mar 2003 23:16:50 +0000 (23:16 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Sun, 2 Mar 2003 23:16:50 +0000 (23:16 +0000)
Python/mactoolboxglue.c

index 16ed3b5a11283dde2af55bd65dbe66682e54202c..25b6514a9cf1b673378c22e6862f5a43f3ae738f 100644 (file)
@@ -528,10 +528,10 @@ int routinename(PyObject *pyobj, object *cobj) { \
     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(FSSpec *, PyMac_BuildFSSpec, "Carbon.File")
+GLUE_CONVERT(FSSpec, PyMac_GetFSSpec, "Carbon.File")
+GLUE_NEW(FSRef *, PyMac_BuildFSRef, "Carbon.File")
+GLUE_CONVERT(FSRef, PyMac_GetFSRef, "Carbon.File")
 
 GLUE_NEW(AppleEvent *, AEDesc_New, "Carbon.AE") /* XXXX Why by address? */
 GLUE_NEW(AppleEvent *, AEDesc_NewBorrowed, "Carbon.AE")