From 633b32a7fa7ba57dbb3d7fd6fbda00595cc135c8 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 12 Apr 2012 21:50:35 -0400 Subject: [PATCH] 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 a5507059c591..5aacf7ac8a03 100644 --- a/Include/pyerrors.h +++ b/Include/pyerrors.h @@ -26,6 +26,13 @@ typedef struct { PyObject *print_file_and_line; } PySyntaxErrorObject; +typedef struct { + PyException_HEAD + PyObject *msg; + PyObject *name; + PyObject *path; +} PyImportErrorObject; + typedef struct { PyException_HEAD PyObject *encoding; @@ -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, -- 2.47.3