c_src/hyper_carray.c
/*
 * Given an hyper_carray and a valid index, set the value at that index to
 * max(current value, given value).
 */
Given an hyper_carray and a valid index, set the value at that index to
max(current value, given value).
Given an hyper_carray and a valid index set the value at that index to max ( current value given value ) .
static inline void carray_merge_item(carray_ptr arr,
				     unsigned int index,
				     unsigned int value)
{
	uint8_t *item = arr->items + index;
	*item = (value > *item) ? value : *item;
}
static inline void carray_merge_item ( carray_ptr arr , unsigned int index , unsigned int value ) { uint8_t * item = arr -> items + index ; * item = ( value > * item ) ? value : * item ; }
Given an hyper_carray and a valid index, set the value at that index to
 max(current value, given value).
Given an hyper_carray and a valid index set the value at that index to max ( current value given value ) .