- 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.
This commit is contained in:
Jack Jansen 1995-02-20 15:56:10 +00:00
parent 77b5828cf0
commit 3ec804af85
2 changed files with 81 additions and 20 deletions

View file

@ -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 */