[Python-checkins] python/dist/src/Include pymactoolbox.h,1.9,1.10
jackjansen at users.sourceforge.net
jackjansen at users.sourceforge.net
Thu Nov 20 08:28:21 EST 2003
Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1:/tmp/cvs-serv7290/Include
Modified Files:
pymactoolbox.h
Log Message:
Got rid of macglue.h, moved the little bit that remains relevant
to pymactoolbox.h (where it should have been in the first place).
Index: pymactoolbox.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pymactoolbox.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** pymactoolbox.h 19 Nov 2003 15:32:46 -0000 1.9
--- pymactoolbox.h 20 Nov 2003 13:28:19 -0000 1.10
***************
*** 16,19 ****
--- 16,21 ----
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 */
More information about the Python-checkins
mailing list