From 633b32a7fa7ba57dbb3d7fd6fbda00595cc135c8 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 12 Apr 2012 21:50:35 -0400 Subject: put PyImportErrorObject with its brothers --- Include/pyerrors.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Include/pyerrors.h b/Include/pyerrors.h index a550705..5aacf7a 100644 --- a/Include/pyerrors.h +++ b/Include/pyerrors.h @@ -28,6 +28,13 @@ typedef struct { typedef struct { PyException_HEAD + PyObject *msg; + PyObject *name; + PyObject *path; +} PyImportErrorObject; + +typedef struct { + PyException_HEAD PyObject *encoding; PyObject *object; Py_ssize_t start; @@ -231,13 +238,6 @@ PyAPI_FUNC(PyObject *) PyErr_Format( ... ); -typedef struct { - PyException_HEAD - PyObject *msg; - PyObject *name; - PyObject *path; -} PyImportErrorObject; - #ifdef MS_WINDOWS PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErrWithFilename( int ierr, -- cgit v0.12