vector_sort

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
LICENSE
VERSION

NAME

vector_sort, _vector_sort - sort a vector in-place

SYNOPSIS

#include <vector.h>

#define vector_sort(v,compare_fn) _vector_sort ((v), (int (*)(const void *,const void *)) (compare_fn))
void _vector_sort (vector v, int (*compare_fn) (const void *, const void *));

DESCRIPTION

Sort a vector in-place, comparing elements using compare_fn.

AUTHOR

Richard Jones <rich@annexia.org>

LICENSE

GNU LGPL (see http://www.gnu.org/)

VERSION

c2lib-1.2.13