Defines | |
#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 | is_error(ptr) ((unsigned long)ptr > (unsigned long)-4000L) |
#define error_ptr | ( | error | ) | ((void*)error) |
#define hexdigit | ( | x | ) | (((x) <= '9') ? (x) - '0' : ((x) & 7) + 9) |
#define is_error | ( | ptr | ) | ((unsigned long)ptr > (unsigned long)-4000L) |
#define json_max | ( | a, | |||
b | ) | ((a) > (b) ? (a) : (b)) |
#define json_min | ( | a, | |||
b | ) | ((a) < (b) ? (a) : (b)) |