• Thomas Haller's avatar
    shared: add nm_cmp_int2ptr_p_with_data() helper · 901aa031
    Thomas Haller authored
    A cmp() implementation, for sorting an array with pointers, where each
    pointer is an inteter according to GPOINTER_TO_INT().
    
    That cames for example handy, if you have a GHashTable with keys
    GINT_TO_POINTER(). Then you get the list of keys via
    g_hash_table_get_keys_as_array() and want to sort them.
    901aa031
Name
Last commit
Last update
..
nm-utils Loading commit data...
meson.build Loading commit data...
nm-common-macros.h Loading commit data...
nm-dbus-compat.h Loading commit data...
nm-default.h Loading commit data...
nm-dispatcher-api.h Loading commit data...
nm-meta-setting.c Loading commit data...
nm-meta-setting.h Loading commit data...
nm-test-libnm-utils.h Loading commit data...
nm-test-utils-impl.c Loading commit data...
nm-version-macros.h.in Loading commit data...