Method
GLibQueuesort
since: 2.4
Declaration [src]
void
g_queue_sort (
  GQueue* queue,
  GCompareDataFunc compare_func,
  gpointer user_data
)
Parameters
- compare_func
- 
            Type: GCompareDataFuncThe GCompareDataFuncused to sortqueue. This function is passed two elements of the queue and should return 0 if they are equal, a negative value if the first comes before the second, and a positive value if the second comes before the first.
- user_data
- 
            Type: gpointerUser data passed to compare_func.The argument can be NULL.The data is owned by the caller of the method.