list_cmp

Compare two lists using the comparison function fp. The comparison function is the same as used for qsort().

extern (C++) nothrow @safe @nogc @trusted
int
list_cmp
(
list_t list1
,
list_t list2
,
int function
(
void*
,
void*
)
@nogc nothrow
fp
)

Return Value

Type: int

If they compare equal, return 0 else value returned by fp.

Meta