summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-11-09 18:48:06 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-11-09 18:48:06 (GMT)
commit6c11f7444c79f16fff47dd56c5e1c8e9ec7f0624 (patch)
tree54c6bda701689e6bbf8a88888296131313e873f9 /Mac
parent84fb1fab1ffb7e39e6c831668938c924d1a693dd (diff)
downloadcpython-6c11f7444c79f16fff47dd56c5e1c8e9ec7f0624.zip
cpython-6c11f7444c79f16fff47dd56c5e1c8e9ec7f0624.tar.gz
cpython-6c11f7444c79f16fff47dd56c5e1c8e9ec7f0624.tar.bz2
Added PyMac_GetFullPath(), PyMac_ApplicationPath and PyMac_ApplicationFSSpec
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Include/macglue.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Mac/Include/macglue.h b/Mac/Include/macglue.h
index af1e21a..907beb1 100644
--- a/Mac/Include/macglue.h
+++ b/Mac/Include/macglue.h
@@ -52,6 +52,11 @@ extern void PyMac_SetGUSISpin(void); /* Install our private GUSI spin routine */
#endif
extern short PyMac_AppRefNum; /* RefNum of application rsrcfork (from macmain.c) */
+extern FSSpec PyMac_ApplicationFSSpec; /* Application location (from macargv.c) */
+extern char PyMac_ApplicationPath[]; /* Application location (from macargv.c) */
+extern OSErr PyMac_init_application_location Py_PROTO((void)); /* Init the above */
+extern OSErr PyMac_GetFullPath Py_PROTO((FSSpec *, char *)); /* convert fsspec->path (macargv.c) */
+extern int PyMac_GetArgv Py_PROTO((char ***, int)); /* Get argc, argv (from macargv.c) */
extern PyObject *PyMac_OSErrException; /* Exception for OSErr */
PyObject *PyMac_GetOSErrException(void); /* Initialize & return it */