summaryrefslogtreecommitdiffstats
path: root/Mac/Include
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-02-15 22:58:33 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-02-15 22:58:33 (GMT)
commit74162f311f79124453320c041c40f90be064bb25 (patch)
tree30aab772af0a5d3e37f807b198660a70caa8076f /Mac/Include
parent9c96a923fb3be046489ff486d41194658c9b015a (diff)
downloadcpython-74162f311f79124453320c041c40f90be064bb25.zip
cpython-74162f311f79124453320c041c40f90be064bb25.tar.gz
cpython-74162f311f79124453320c041c40f90be064bb25.tar.bz2
Added support for loading pyc code from a resource.
Diffstat (limited to 'Mac/Include')
-rw-r--r--Mac/Include/macglue.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mac/Include/macglue.h b/Mac/Include/macglue.h
index a299016..695a045 100644
--- a/Mac/Include/macglue.h
+++ b/Mac/Include/macglue.h
@@ -52,6 +52,9 @@ int PyMac_Idle(void); /* Idle routine */
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_GetOSType(PyObject *, OSType *); /* argument parser for OSType */
PyObject *PyMac_BuildOSType(OSType); /* Convert OSType to PyObject */