Macros
bits.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#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 max(a, b)   ((a) > (b) ? (a) : (b))
 
#define min(a, b)   ((a) < (b) ? (a) : (b))
 

Macro Definition Documentation

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

Definition at line 24 of file bits.h.

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

Definition at line 23 of file bits.h.

#define is_error (   ptr)    ((unsigned long)ptr > (unsigned long)-4000L)

Definition at line 25 of file bits.h.

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

Definition at line 20 of file bits.h.

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

Definition at line 16 of file bits.h.



csm
Author(s): Andrea Censi
autogenerated on Tue May 11 2021 02:18:23