Ir al código fuente de este archivo.
Clases |
struct | mng_error_entry |
'defines' |
#define | _libmng_error_h_ |
#define | MNG_ERROR(D, C) { mng_process_error (D, C, 0, 0); return C; } |
#define | MNG_ERRORZ(D, Z) { mng_process_error (D, MNG_ZLIBERROR, Z, 0); return MNG_ZLIBERROR; } |
#define | MNG_ERRORJ(D, J) { mng_process_error (D, MNG_JPEGERROR, J, 0); return MNG_JPEGERROR; } |
#define | MNG_ERRORL(D, L) { mng_process_error (D, MNG_LCMSERROR, L, 0); return MNG_LCMSERROR; } |
#define | MNG_RETURN(D, C) { mng_store_error (D, C, 0, 0); return C; } |
#define | MNG_WARNING(D, C) { if (!mng_process_error (D, C, 0, 0)) return C; } |
#define | MNG_VALIDHANDLE(H) |
#define | MNG_VALIDHANDLEX(H) |
#define | MNG_VALIDCB(D, C) |
'typedefs' |
typedef mng_error_entry * | mng_error_entryp |
Funciones |
mng_bool | mng_store_error (mng_datap pData, mng_retcode iError, mng_retcode iExtra1, mng_retcode iExtra2) |
mng_bool | mng_process_error (mng_datap pData, mng_retcode iError, mng_retcode iExtra1, mng_retcode iExtra2) |
Documentación de los 'defines'
#define MNG_ERROR |
( |
|
D, |
|
|
|
C |
|
) |
| { mng_process_error (D, C, 0, 0); return C; } |
#define MNG_ERRORJ |
( |
|
D, |
|
|
|
J |
|
) |
| { mng_process_error (D, MNG_JPEGERROR, J, 0); return MNG_JPEGERROR; } |
#define MNG_ERRORL |
( |
|
D, |
|
|
|
L |
|
) |
| { mng_process_error (D, MNG_LCMSERROR, L, 0); return MNG_LCMSERROR; } |
#define MNG_ERRORZ |
( |
|
D, |
|
|
|
Z |
|
) |
| { mng_process_error (D, MNG_ZLIBERROR, Z, 0); return MNG_ZLIBERROR; } |
#define MNG_RETURN |
( |
|
D, |
|
|
|
C |
|
) |
| { mng_store_error (D, C, 0, 0); return C; } |
#define MNG_VALIDCB |
( |
|
D, |
|
|
|
C |
|
) |
| |
#define MNG_VALIDHANDLE |
( |
|
H | ) |
|
#define MNG_VALIDHANDLEX |
( |
|
H | ) |
|
#define MNG_WARNING |
( |
|
D, |
|
|
|
C |
|
) |
| { if (!mng_process_error (D, C, 0, 0)) return C; } |
Documentación de los 'typedefs'
Documentación de las funciones