vector_compare

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
LICENSE
VERSION

NAME

vector_compare, _vector_compare - compare two vectors

SYNOPSIS

#include <vector.h>

#define vector_compare(v1,v2,compare_fn) _vector_compare ((v1), (v2), (int (*)(const void *,const void *)) (compare_fn))
int _vector_compare (vector, vector, int (*compare_fn) (const void *, const void *));

DESCRIPTION

Compare two vectors. This returns 0 if the two vectors are identical. It returns > 0 if v1 > v2. This returns < 0 if v1 < v2.

AUTHOR

Richard Jones <rich@annexia.org>

LICENSE

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

VERSION

c2lib-1.2.13