ARB
Macros | Functions
arb_defs.h File Reference
#include <arb_assert.h>
Include dependency graph for arb_defs.h:

Go to the source code of this file.

Macros

#define ARRAY_ELEMS(array)   (sizeof(array)/sizeof(array[0]))
 
#define TERMINATED_ARRAY_ELEMS(array)   (ARRAY_ELEMS(array)-1)
 

Functions

ASSERTING_CONSTEXPR_INLINE int bio2info (int biopos)
 
ASSERTING_CONSTEXPR_INLINE int info2bio (int infopos)
 

Macro Definition Documentation

#define ARRAY_ELEMS (   array)    (sizeof(array)/sizeof(array[0]))
#define TERMINATED_ARRAY_ELEMS (   array)    (ARRAY_ELEMS(array)-1)

Definition at line 20 of file arb_defs.h.

Function Documentation

ASSERTING_CONSTEXPR_INLINE int bio2info ( int  biopos)
ASSERTING_CONSTEXPR_INLINE int info2bio ( int  infopos)