rank_compare_func


Description:

public static int rank_compare_func (void* p1, void* p2)

Compares the two given PluginFeature instances.

This function can be used as a SearchFunc when sorting by rank and then by name.

Parameters:

p1

a PluginFeature

p2

a PluginFeature

Returns:

negative value if the rank of p1 > the rank of p2 or the ranks are equal but the name of p1 comes before the name of p2; zero if the rank and names are equal; positive value if the rank of p1 < the rank of p2 or the ranks are equal but the name of p2 comes before the name of p1




2022 vala-language.org