libdom
Loading...
Searching...
No Matches
utils.h File Reference

Go to the source code of this file.

Macros

#define max(a, b)
 
#define min(a, b)
 
#define SLEN(s)
 
#define UNUSED(x)
 

Macro Definition Documentation

◆ max

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

◆ min

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

◆ SLEN

#define SLEN ( s)
Value:
(sizeof((s)) - 1) /* -1 for '\0' */

◆ UNUSED

#define UNUSED ( x)
Value:
((void)(x))