summaryrefslogtreecommitdiffstats
path: root/Mac/Include
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-02-20 15:56:10 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-02-20 15:56:10 (GMT)
commit3ec804af852620bea1349ac714667b68a463a3c0 (patch)
treebfd2a765085c97c78d18521e743e9e9ebf785f91 /Mac/Include
parent77b5828cf0220e8f366daf16df987c101a383da1 (diff)
downloadcpython-3ec804af852620bea1349ac714667b68a463a3c0.zip
cpython-3ec804af852620bea1349ac714667b68a463a3c0.tar.gz
cpython-3ec804af852620bea1349ac714667b68a463a3c0.tar.bz2
- Added PyMac_GetDirectory call which asks the user to select a
directory. - No __main__ resource found message is now a dialog - Fixes wrt stdio window handling in applets. NB: these fixes require a new resource file.
Diffstat (limited to 'Mac/Include')
-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 c8ea317..a9ef0f7 100644
--- a/Mac/Include/macglue.h
+++ b/Mac/Include/macglue.h
@@ -59,6 +59,8 @@ char *PyMac_GetPythonDir(); /* Return the name of the python dir */
int PyMac_FindResourceModule(char *, char *); /* Test for 'PYC ' resource in a file */
PyObject * PyMac_LoadResourceModule(char *, char *); /* Load 'PYC ' resource from file */
+int PyMac_GetDirectory(FSSpec *dirfss); /* Ask user for a directory */
+
int PyMac_GetOSType(PyObject *, OSType *); /* argument parser for OSType */
PyObject *PyMac_BuildOSType(OSType); /* Convert OSType to PyObject */