From 619c5cc4ab4bd94f9b270a9868bb5f08ffd76acb Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Wed, 18 Jan 2017 18:55:22 -0600 Subject: nqasm: allow specifying labels for operands --- vector.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vector.h') diff --git a/vector.h b/vector.h index fb32da7..6fba081 100644 --- a/vector.h +++ b/vector.h @@ -9,5 +9,7 @@ struct vector { void *vector_init(size_t alloc, size_t elemsize, size_t arrayoff); void *vector_append(struct vector **vp); +void vector_sort(struct vector *v, int (*cmp)(const void *, const void *)); +void *vector_search(struct vector *v, const void *key, int (*cmp)(const void *, const void *)); #endif -- cgit v1.2.3