tests/ctest/test_opmphm_vheap.c
/**
 * Comparison function for a maximum int heap
 */
Comparison function for a maximum int heap
Comparison function for a maximum int heap
static int maxcomp (void * a, void * b)
{
	if (!a || !b) return 1;
	return (*((int *)a) > *((int *)b));
}
static int maxcomp ( void * a , void * b ) { if ( ! a || ! b ) return 1 ; return ( * ( ( int * ) a ) > * ( ( int * ) b ) ) ; }
Comparison function for a maximum int heap
Comparison function for a maximum int heap