mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
- 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:
parent
77b5828cf0
commit
3ec804af85
2 changed files with 81 additions and 20 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue