summaryrefslogtreecommitdiffstats
path: root/Mac/Include/macglue.h
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1994-12-14 14:07:50 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1994-12-14 14:07:50 (GMT)
commitf93c72a4b0bab30aac779aa3e957e9143764bda2 (patch)
tree25de1c889c793ed4ec01441c53885c628dc41e95 /Mac/Include/macglue.h
parent34e7cae6634d89fbf160e1e8249c56012914bfe6 (diff)
downloadcpython-f93c72a4b0bab30aac779aa3e957e9143764bda2.zip
cpython-f93c72a4b0bab30aac779aa3e957e9143764bda2.tar.gz
cpython-f93c72a4b0bab30aac779aa3e957e9143764bda2.tar.bz2
New routines:
macstrerror - strerror which uses 'Estr' resource to convert numerical MacOS errors to strings. PyErr_Mac - Raise exception with MacOS error in string form. PyMac_Idle - better idle-loop routine, which allows the user to switch applications.
Diffstat (limited to 'Mac/Include/macglue.h')
-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
new file mode 100644
index 0000000..1f5d98d
--- /dev/null
+++ b/Mac/Include/macglue.h
@@ -0,0 +1,3 @@
+char *macstrerror PROTO((int)); /* strerror with mac errors */
+object *PyErr_Mac PROTO((object *, int)); /* Exception with a mac error */
+int PyMac_Idle PROTO((void)); /* Idle routine */ \ No newline at end of file