mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Replaced PyMac_FullPath by PyMac_FullPathname, which has an extra 'length'
parameter for the return string (as unix pathnames are not limited by the 255 char pstring limit). Implemented the function for MachO-Python, where it returns unix pathnames.
This commit is contained in:
parent
b0e8e9b72f
commit
697842f58c
6 changed files with 74 additions and 35 deletions
|
@ -62,7 +62,6 @@ extern short PyMac_AppRefNum; /* RefNum of application rsrcfork (from macmain.
|
|||
extern FSSpec PyMac_ApplicationFSSpec; /* Application location (from macargv.c) */
|
||||
extern char PyMac_ApplicationPath[]; /* Application location (from macargv.c) */
|
||||
extern OSErr PyMac_init_application_location(void); /* Init the above */
|
||||
extern OSErr PyMac_GetFullPath(FSSpec *, char *); /* convert fsspec->path (macargv.c) */
|
||||
extern int PyMac_GetArgv(char ***, int); /* Get argc, argv (from macargv.c) */
|
||||
extern int PyMac_AppearanceCompliant; /* True if in appearance support mode */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue