diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-09-01 23:39:58 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-09-01 23:39:58 (GMT) |
commit | fabd00fa91277d2536d97d033e0f7ac561c65fab (patch) | |
tree | 12d421896780b1360337deb8627d82d69ebad0de /Python/mactoolboxglue.c | |
parent | 62d24a0f50db4b959ef32ac0e7b9946cc045ca08 (diff) | |
download | cpython-fabd00fa91277d2536d97d033e0f7ac561c65fab.zip cpython-fabd00fa91277d2536d97d033e0f7ac561c65fab.tar.gz cpython-fabd00fa91277d2536d97d033e0f7ac561c65fab.tar.bz2 |
Added glue routine for PyMac_BuildFSSpec, PyMac_GetFSRef and PyMac_BuildFSRef.
Moved the declarations to pymactoolbox.h.
Diffstat (limited to 'Python/mactoolboxglue.c')
-rw-r--r-- | Python/mactoolboxglue.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/mactoolboxglue.c b/Python/mactoolboxglue.c index 739d99e..0781a3b 100644 --- a/Python/mactoolboxglue.c +++ b/Python/mactoolboxglue.c @@ -346,7 +346,11 @@ 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(AppleEvent *, AEDesc_New, "Carbon.AE") /* XXXX Why by address? */ GLUE_CONVERT(AppleEvent, AEDesc_Convert, "Carbon.AE") |