Use Carbon.File for FSSpec and FSRef conversion, not macfs.
This commit is contained in:
parent
d79284843a
commit
ad5e76a8fb
@ -528,10 +528,10 @@ int routinename(PyObject *pyobj, object *cobj) { \
|
|||||||
return (*PyMacGluePtr_##routinename)(pyobj, cobj); \
|
return (*PyMacGluePtr_##routinename)(pyobj, cobj); \
|
||||||
}
|
}
|
||||||
|
|
||||||
GLUE_NEW(FSSpec *, PyMac_BuildFSSpec, "macfs")
|
GLUE_NEW(FSSpec *, PyMac_BuildFSSpec, "Carbon.File")
|
||||||
GLUE_CONVERT(FSSpec, PyMac_GetFSSpec, "macfs")
|
GLUE_CONVERT(FSSpec, PyMac_GetFSSpec, "Carbon.File")
|
||||||
GLUE_NEW(FSRef *, PyMac_BuildFSRef, "macfs")
|
GLUE_NEW(FSRef *, PyMac_BuildFSRef, "Carbon.File")
|
||||||
GLUE_CONVERT(FSRef, PyMac_GetFSRef, "macfs")
|
GLUE_CONVERT(FSRef, PyMac_GetFSRef, "Carbon.File")
|
||||||
|
|
||||||
GLUE_NEW(AppleEvent *, AEDesc_New, "Carbon.AE") /* XXXX Why by address? */
|
GLUE_NEW(AppleEvent *, AEDesc_New, "Carbon.AE") /* XXXX Why by address? */
|
||||||
GLUE_NEW(AppleEvent *, AEDesc_NewBorrowed, "Carbon.AE")
|
GLUE_NEW(AppleEvent *, AEDesc_NewBorrowed, "Carbon.AE")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user