summaryrefslogtreecommitdiff
path: root/vector.h
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2017-01-18 18:55:22 -0600
committerBobby Bingham <koorogi@koorogi.info>2017-01-18 18:55:22 -0600
commit619c5cc4ab4bd94f9b270a9868bb5f08ffd76acb (patch)
tree5d58bf4f4cc66621f5327edb30ba593c72b4c5da /vector.h
parent17d11b2e0af9cbbe9e2c02c4d1a3d2cb4509701e (diff)
nqasm: allow specifying labels for operands
Diffstat (limited to 'vector.h')
-rw-r--r--vector.h2
1 files changed, 2 insertions, 0 deletions
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