util_source_compare_for_sort


Description:


[ Version ( since = "3.40" ) ]
public int util_source_compare_for_sort (void* source_a, void* source_b)

Compares two Source-s in a way suitable for user interface.

It can be used as a SearchFunc.

This is also used by e_source_registry_build_display_tree.

Parameters:

source_a

the first Source

source_b

the second Source

Returns:

an integer less than, equal to, or greater than zero, if source_a is <, == or > than source_b.


Namespace: E