summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-11-20 13:28:19 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-11-20 13:28:19 (GMT)
commit3305d2487d76a8a24448d825e98f8afb4caa76ab (patch)
tree4a657bcd12705b741c0e2c5d802fe1aade770d6b /Include
parent8d902aba1c6a3c9364c792813995881daf2ffc3d (diff)
downloadcpython-3305d2487d76a8a24448d825e98f8afb4caa76ab.zip
cpython-3305d2487d76a8a24448d825e98f8afb4caa76ab.tar.gz
cpython-3305d2487d76a8a24448d825e98f8afb4caa76ab.tar.bz2
Got rid of macglue.h, moved the little bit that remains relevant
to pymactoolbox.h (where it should have been in the first place).
Diffstat (limited to 'Include')
-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 */