doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Enumerations
jerror.h File Reference

Go to the source code of this file.

Macros

#define JMESSAGE(code, string)
 
#define JMAKE_ENUM_LIST
 
#define JMESSAGE(code, string)   code ,
 
#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)   do { stuff } while (0)
 
#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 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

#define ERREXIT (   cinfo,
  code 
)
Value:
((cinfo)->err->msg_code = (code), \
(*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
struct jpeg_common_struct * j_common_ptr
Definition: jpeglib.h:260
static WindowRef ValidModeCallbackProc inCallback OSStatus err

Definition at line 193 of file jerror.h.

#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)))
struct jpeg_common_struct * j_common_ptr
Definition: jpeglib.h:260
static WindowRef ValidModeCallbackProc inCallback OSStatus err

Definition at line 196 of file jerror.h.

#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)))
struct jpeg_common_struct * j_common_ptr
Definition: jpeglib.h:260
static WindowRef ValidModeCallbackProc inCallback OSStatus err

Definition at line 200 of file jerror.h.

#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)))
struct jpeg_common_struct * j_common_ptr
Definition: jpeglib.h:260
static WindowRef ValidModeCallbackProc inCallback OSStatus err

Definition at line 205 of file jerror.h.

#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)))
struct jpeg_common_struct * j_common_ptr
Definition: jpeglib.h:260
static WindowRef ValidModeCallbackProc inCallback OSStatus err

Definition at line 211 of file jerror.h.

#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)))
struct jpeg_common_struct * j_common_ptr
Definition: jpeglib.h:260
#define JMSG_STR_PARM_MAX
Definition: jpeglib.h:647
static WindowRef ValidModeCallbackProc inCallback OSStatus err

Definition at line 218 of file jerror.h.

#define JERROR_H

Definition at line 187 of file jerror.h.

#define JMAKE_ENUM_LIST

Definition at line 24 of file jerror.h.

#define JMESSAGE (   code,
  string 
)

Definition at line 43 of file jerror.c.

#define JMESSAGE (   code,
  string 
)    code ,

Definition at line 35 of file jerror.h.

#define MAKESTMT (   stuff)    do { stuff } while (0)

Definition at line 223 of file jerror.h.

#define TRACEMS (   cinfo,
  lvl,
  code 
)
Value:
((cinfo)->err->msg_code = (code), \
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)))
struct jpeg_common_struct * j_common_ptr
Definition: jpeglib.h:260
static WindowRef ValidModeCallbackProc inCallback OSStatus err

Definition at line 240 of file jerror.h.

#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)))
struct jpeg_common_struct * j_common_ptr
Definition: jpeglib.h:260
static WindowRef ValidModeCallbackProc inCallback OSStatus err

Definition at line 243 of file jerror.h.

#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)))
struct jpeg_common_struct * j_common_ptr
Definition: jpeglib.h:260
static WindowRef ValidModeCallbackProc inCallback OSStatus err

Definition at line 247 of file jerror.h.

#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)); )
static WindowRef ValidModeCallbackProc inCallback OSStatus err
#define MAKESTMT(stuff)
Definition: jerror.h:223

Definition at line 252 of file jerror.h.

#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)); )
static WindowRef ValidModeCallbackProc inCallback OSStatus err
#define MAKESTMT(stuff)
Definition: jerror.h:223

Definition at line 257 of file jerror.h.

#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)); )
static WindowRef ValidModeCallbackProc inCallback OSStatus err
#define MAKESTMT(stuff)
Definition: jerror.h:223

Definition at line 262 of file jerror.h.

#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)))
struct jpeg_common_struct * j_common_ptr
Definition: jpeglib.h:260
#define JMSG_STR_PARM_MAX
Definition: jpeglib.h:647
static WindowRef ValidModeCallbackProc inCallback OSStatus err

Definition at line 268 of file jerror.h.

#define WARNMS (   cinfo,
  code 
)
Value:
((cinfo)->err->msg_code = (code), \
(*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), -1))
struct jpeg_common_struct * j_common_ptr
Definition: jpeglib.h:260
static WindowRef ValidModeCallbackProc inCallback OSStatus err

Definition at line 226 of file jerror.h.

#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))
struct jpeg_common_struct * j_common_ptr
Definition: jpeglib.h:260
static WindowRef ValidModeCallbackProc inCallback OSStatus err

Definition at line 229 of file jerror.h.

#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))
struct jpeg_common_struct * j_common_ptr
Definition: jpeglib.h:260
static WindowRef ValidModeCallbackProc inCallback OSStatus err

Definition at line 233 of file jerror.h.

Enumeration Type Documentation

Enumerator
JMESSAGE 
JMESSAGE 

Definition at line 33 of file jerror.h.