qvm_slice_sort()

Sort the data of a slice descriptor array

Synopsis:

#include <qvm/utils.h>
void qvm_slice_sort(struct qvm_slice_descriptor *desc_array,
                    size_t nelems)

Arguments:

desc_array
A pointer to the slice descriptor array to be sorted.
nelems
The number of elements in the array.

Description:

This function sorts an array of slice descriptors so they can be used by qvm_slice().

Page updated: