summaryrefslogtreecommitdiffstats
path: root/Mac/Include/macglue.h
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-02-13 11:33:28 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-02-13 11:33:28 (GMT)
commit8cd2b720f6c103bb97f97b0d55bc2a75ad0eed4d (patch)
treeb640a01b8f5c89a176f52f6d667581f1e42a6fe0 /Mac/Include/macglue.h
parentb3642579fd1f04d8ad6f4224ac36e5c821209aa0 (diff)
downloadcpython-8cd2b720f6c103bb97f97b0d55bc2a75ad0eed4d.zip
cpython-8cd2b720f6c103bb97f97b0d55bc2a75ad0eed4d.tar.gz
cpython-8cd2b720f6c103bb97f97b0d55bc2a75ad0eed4d.tar.bz2
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.
Diffstat (limited to 'Mac/Include/macglue.h')
-rw-r--r--Mac/Include/macglue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/Include/macglue.h b/Mac/Include/macglue.h
index 7944471..d868534 100644
--- a/Mac/Include/macglue.h
+++ b/Mac/Include/macglue.h
@@ -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 */