summaryrefslogtreecommitdiffstats
path: root/Include/pymactoolbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/pymactoolbox.h')
-rw-r--r--Include/pymactoolbox.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/pymactoolbox.h b/Include/pymactoolbox.h
index cb65862..a1e2a6f 100644
--- a/Include/pymactoolbox.h
+++ b/Include/pymactoolbox.h
@@ -15,6 +15,8 @@
*/
char *PyMac_getscript(void); /* Get the default encoding for our 8bit character set */
char *PyMac_StrError(int); /* strerror with mac errors */
+extern PyObject *PyMac_OSErrException; /* Exception for OSErr */
+PyObject *PyMac_GetOSErrException(void); /* Initialize & return it */
PyObject *PyErr_Mac(PyObject *, int); /* Exception with a mac error */
PyObject *PyMac_Error(OSErr); /* Uses PyMac_GetOSErrException */
extern OSErr PyMac_GetFullPathname(FSSpec *, char *, int); /* convert fsspec->path */