utils.h File Reference

Go to the source code of this file.

Defines

#define max(a, b)   ((a)>(b)?(a):(b))
#define min(a, b)   ((a)<(b)?(a):(b))
#define SLEN(s)   (sizeof((s)) - 1)
#define UNUSED(x)   ((x)=(x))
#define N_ELEMENTS(s)   (sizeof((s)) / sizeof((s)[0]))
#define ALIGN(val)   (((val) + 3) & ~(3))


Define Documentation

#define ALIGN ( val   )     (((val) + 3) & ~(3))

Definition at line 33 of file utils.h.

#define max ( a,
 )     ((a)>(b)?(a):(b))

Definition at line 12 of file utils.h.

Referenced by charset_utf16_codec_decode(), and charset_utf8_codec_decode().

#define min ( a,
 )     ((a)<(b)?(a):(b))

Definition at line 16 of file utils.h.

Referenced by charset_utf16_codec_decode(), and charset_utf8_codec_decode().

#define N_ELEMENTS (  )     (sizeof((s)) / sizeof((s)[0]))

#define SLEN (  )     (sizeof((s)) - 1)

#define UNUSED (  )     ((x)=(x))


Generated on Wed Jul 29 11:59:21 2015 for Libparserutils by  doxygen 1.5.6