mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Added PyMac_GetPythonDir routine which obtains python home directory
from an alias resource (or from the user). Note: this uses a dialog resource so there's an accompanying change in the resource file.
This commit is contained in:
parent
b3642579fd
commit
8cd2b720f6
2 changed files with 77 additions and 0 deletions
|
@ -42,6 +42,8 @@ void PyMac_HandleEvent Py_PROTO((EventRecord *)); /* Handle one event, if possib
|
|||
|
||||
int PyMac_Idle(void); /* Idle routine */
|
||||
|
||||
char *PyMac_GetPythonDir(); /* Return the name of the python dir */
|
||||
|
||||
int PyMac_GetOSType(PyObject *, OSType *); /* argument parser for OSType */
|
||||
PyObject *PyMac_BuildOSType(OSType); /* Convert OSType to PyObject */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue