From 9244eacb5ab0b9a11480d1ad40d4720575676877 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Tue, 17 Jan 2017 20:14:45 -0600 Subject: nqasm: parse labels --- vector.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 vector.h (limited to 'vector.h') diff --git a/vector.h b/vector.h new file mode 100644 index 0000000..fb32da7 --- /dev/null +++ b/vector.h @@ -0,0 +1,13 @@ +#ifndef NQ_VECTOR_H +#define NQ_VECTOR_H + +#include + +struct vector { + size_t alloc, count, elemsize, arrayoff; +}; + +void *vector_init(size_t alloc, size_t elemsize, size_t arrayoff); +void *vector_append(struct vector **vp); + +#endif -- cgit v1.2.3