Functions
hkl_assert()
# define hkl_assert(x) do{ if (!(x)) {hkl_printbt(); assert(x); } } while(0)
hkl_error()
#define hkl_error(expr)
G_GNUC_PRINTF()
#define G_GNUC_PRINTF( format_idx, arg_idx )
alloc_nr()
#define alloc_nr(x) (((x)+16)*3/2)
ALLOC_GROW()
#define ALLOC_GROW(x, nr, alloc)
DARRAY()
#define DARRAY(_items) {.item=_items, .size=ARRAY_SIZE(_items), .alloc=ARRAY_SIZE(_items)}
hkl_printbt ()
void
hkl_printbt (void
);
HKL_MALLOC()
#define HKL_MALLOC(type) (type *)_hkl_malloc(sizeof(type), "Can not allocate memory for a " #type)