Assignments Assignments

Macros | Enumerations
jerror.h File Reference

Go to the source code of this file.

## Macros
#define | JMAKE_ENUM_LIST
#define | JMESSAGE(code, string)
#define | JERROR_H
#define | ERREXIT(cinfo, code)
#define | ERREXIT1(cinfo, code, p1)
#define | ERREXIT2(cinfo, code, p1, p2)
#define | ERREXIT3(cinfo, code, p1, p2, p3)
#define | ERREXIT4(cinfo, code, p1, p2, p3, p4)
#define | ERREXITS(cinfo, code, str)
#define | MAKESTMT(stuff)
#define | WARNMS(cinfo, code)
#define | WARNMS1(cinfo, code, p1)
#define | WARNMS2(cinfo, code, p1, p2)
#define | TRACEMS(cinfo, lvl, code)
#define | TRACEMS1(cinfo, lvl, code, p1)
#define | TRACEMS2(cinfo, lvl, code, p1, p2)
#define | TRACEMS3(cinfo, lvl, code, p1, p2, p3)
#define | TRACEMS4(cinfo, lvl, code, p1, p2, p3, p4)
#define | TRACEMS5(cinfo, lvl, code, p1, p2, p3, p4, p5)
#define | TRACEMS8(cinfo, lvl, code, p1, p2, p3, p4, p5, p6, p7, p8)
#define | TRACEMSS(cinfo, lvl, code, str)

## Enumerations
enum | J_MESSAGE_CODE { JMESSAGE , JMESSAGE }

## Macro Definition Documentation

## ◆ ERREXIT

#define ERREXIT | ( |  | cinfo,
|  |  | code )

Value:
((cinfo)->err->msg_code = (code), \
(*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
j_common_ptr
struct jpeg_common_struct * j_common_ptr
Definition jpeglib.h:261

## ◆ ERREXIT1

#define ERREXIT1 | ( |  | cinfo,
|  |  | code,
|  |  | p1 )

Value:
((cinfo)->err->msg_code = (code), \
(cinfo)->err->msg_parm.i[0] = (p1), \
(*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))

## ◆ ERREXIT2

#define ERREXIT2 | ( |  | cinfo,
|  |  | code,
|  |  | p1,
|  |  | p2 )

Value:
((cinfo)->err->msg_code = (code), \
(cinfo)->err->msg_parm.i[0] = (p1), \
(cinfo)->err->msg_parm.i[1] = (p2), \
(*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))

## ◆ ERREXIT3

#define ERREXIT3 | ( |  | cinfo,
|  |  | code,
|  |  | p1,
|  |  | p2,
|  |  | p3 )

Value:
((cinfo)->err->msg_code = (code), \
(cinfo)->err->msg_parm.i[0] = (p1), \
(cinfo)->err->msg_parm.i[1] = (p2), \
(cinfo)->err->msg_parm.i[2] = (p3), \
(*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))

## ◆ ERREXIT4

#define ERREXIT4 | ( |  | cinfo,
|  |  | code,
|  |  | p1,
|  |  | p2,
|  |  | p3,
|  |  | p4 )

Value:
((cinfo)->err->msg_code = (code), \
(cinfo)->err->msg_parm.i[0] = (p1), \
(cinfo)->err->msg_parm.i[1] = (p2), \
(cinfo)->err->msg_parm.i[2] = (p3), \
(cinfo)->err->msg_parm.i[3] = (p4), \
(*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))

## ◆ ERREXITS

#define ERREXITS | ( |  | cinfo,
|  |  | code,
|  |  | str )

Value:
((cinfo)->err->msg_code = (code), \
strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \
(*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
JMSG_STR_PARM_MAX
#define JMSG_STR_PARM_MAX
Definition jpeglib.h:660

## ◆ JERROR_H

#define JERROR_H

## ◆ JMAKE_ENUM_LIST

#define JMAKE_ENUM_LIST

## ◆ JMESSAGE

#define JMESSAGE | ( |  | code,
|  |  | string )

Value:
code ,

## ◆ MAKESTMT

#define MAKESTMT | ( |  | stuff | ) |

Value:
do { stuff } while (0)

## ◆ TRACEMS

#define TRACEMS | ( |  | cinfo,
|  |  | lvl,
|  |  | code )

Value:
((cinfo)->err->msg_code = (code), \
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)))

## ◆ TRACEMS1

#define TRACEMS1 | ( |  | cinfo,
|  |  | lvl,
|  |  | code,
|  |  | p1 )

Value:
((cinfo)->err->msg_code = (code), \
(cinfo)->err->msg_parm.i[0] = (p1), \
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)))

## ◆ TRACEMS2

#define TRACEMS2 | ( |  | cinfo,
|  |  | lvl,
|  |  | code,
|  |  | p1,
|  |  | p2 )

Value:
((cinfo)->err->msg_code = (code), \
(cinfo)->err->msg_parm.i[0] = (p1), \
(cinfo)->err->msg_parm.i[1] = (p2), \
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)))

## ◆ TRACEMS3

#define TRACEMS3 | ( |  | cinfo,
|  |  | lvl,
|  |  | code,
|  |  | p1,
|  |  | p2,
|  |  | p3 )

Value:
MAKESTMT(int * _mp = (cinfo)->err->msg_parm.i; \
_mp[0] = (p1); _mp[1] = (p2); _mp[2] = (p3); \
(cinfo)->err->msg_code = (code); \
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); )
MAKESTMT
#define MAKESTMT(stuff)
Definition jerror.h:235

## ◆ TRACEMS4

#define TRACEMS4 | ( |  | cinfo,
|  |  | lvl,
|  |  | code,
|  |  | p1,
|  |  | p2,
|  |  | p3,
|  |  | p4 )

Value:
MAKESTMT(int * _mp = (cinfo)->err->msg_parm.i; \
_mp[0] = (p1); _mp[1] = (p2); _mp[2] = (p3); _mp[3] = (p4); \
(cinfo)->err->msg_code = (code); \
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); )

## ◆ TRACEMS5

#define TRACEMS5 | ( |  | cinfo,
|  |  | lvl,
|  |  | code,
|  |  | p1,
|  |  | p2,
|  |  | p3,
|  |  | p4,
|  |  | p5 )

Value:
MAKESTMT(int * _mp = (cinfo)->err->msg_parm.i; \
_mp[0] = (p1); _mp[1] = (p2); _mp[2] = (p3); _mp[3] = (p4); \
_mp[4] = (p5); \
(cinfo)->err->msg_code = (code); \
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); )

## ◆ TRACEMS8

#define TRACEMS8 | ( |  | cinfo,
|  |  | lvl,
|  |  | code,
|  |  | p1,
|  |  | p2,
|  |  | p3,
|  |  | p4,
|  |  | p5,
|  |  | p6,
|  |  | p7,
|  |  | p8 )

Value:
MAKESTMT(int * _mp = (cinfo)->err->msg_parm.i; \
_mp[0] = (p1); _mp[1] = (p2); _mp[2] = (p3); _mp[3] = (p4); \
_mp[4] = (p5); _mp[5] = (p6); _mp[6] = (p7); _mp[7] = (p8); \
(cinfo)->err->msg_code = (code); \
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); )

## ◆ TRACEMSS

#define TRACEMSS | ( |  | cinfo,
|  |  | lvl,
|  |  | code,
|  |  | str )

Value:
((cinfo)->err->msg_code = (code), \
strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)))

## ◆ WARNMS

#define WARNMS | ( |  | cinfo,
|  |  | code )

Value:
((cinfo)->err->msg_code = (code), \
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), -1))

## ◆ WARNMS1

#define WARNMS1 | ( |  | cinfo,
|  |  | code,
|  |  | p1 )

Value:
((cinfo)->err->msg_code = (code), \
(cinfo)->err->msg_parm.i[0] = (p1), \
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), -1))

## ◆ WARNMS2

#define WARNMS2 | ( |  | cinfo,
|  |  | code,
|  |  | p1,
|  |  | p2 )

Value:
((cinfo)->err->msg_code = (code), \
(cinfo)->err->msg_parm.i[0] = (p1), \
(cinfo)->err->msg_parm.i[1] = (p2), \
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), -1))

## Enumeration Type Documentation

## ◆ J_MESSAGE_CODE

enum J_MESSAGE_CODE

Enumerator
JMESSAGE |
JMESSAGE |