mirror of
https://github.com/python/cpython.git
synced 2025-09-29 11:45:57 +00:00
Added PyMac_GetFullPath(), PyMac_ApplicationPath and PyMac_ApplicationFSSpec
This commit is contained in:
parent
84fb1fab1f
commit
6c11f7444c
1 changed files with 5 additions and 0 deletions
|
@ -52,6 +52,11 @@ extern void PyMac_SetGUSISpin(void); /* Install our private GUSI spin routine */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern short PyMac_AppRefNum; /* RefNum of application rsrcfork (from macmain.c) */
|
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 */
|
extern PyObject *PyMac_OSErrException; /* Exception for OSErr */
|
||||||
PyObject *PyMac_GetOSErrException(void); /* Initialize & return it */
|
PyObject *PyMac_GetOSErrException(void); /* Initialize & return it */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue