MACSio  0.9
Multi-purpose, Application-Centric, Scalable I/O Proxy App
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
bits.h File Reference

Go to the source code of this file.

Macros

#define json_min(a, b)   ((a) < (b) ? (a) : (b))
 
#define json_max(a, b)   ((a) > (b) ? (a) : (b))
 
#define hexdigit(x)   (((x) <= '9') ? (x) - '0' : ((x) & 7) + 9)
 
#define error_ptr(error)   ((void*)error)
 
#define error_description(error)   (json_tokener_errors[error])
 
#define is_error(ptr)   (ptr == NULL)
 

Macro Definition Documentation

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

Definition at line 16 of file bits.h.

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

Definition at line 20 of file bits.h.

#define hexdigit (   x)    (((x) <= '9') ? (x) - '0' : ((x) & 7) + 9)

Definition at line 23 of file bits.h.

#define error_ptr (   error)    ((void*)error)

Definition at line 24 of file bits.h.

#define error_description (   error)    (json_tokener_errors[error])

Definition at line 25 of file bits.h.

#define is_error (   ptr)    (ptr == NULL)

Definition at line 26 of file bits.h.