summaryrefslogtreecommitdiff
path: root/ot_vector.h
diff options
context:
space:
mode:
Diffstat (limited to 'ot_vector.h')
-rw-r--r--ot_vector.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ot_vector.h b/ot_vector.h
index c99a8b4..6b7fdf4 100644
--- a/ot_vector.h
+++ b/ot_vector.h
@@ -6,10 +6,12 @@
6 6
7#include "trackerlogic.h" 7#include "trackerlogic.h"
8 8
9/* These defines control vectors behaviour */
9#define OT_VECTOR_MIN_MEMBERS 4 10#define OT_VECTOR_MIN_MEMBERS 4
10#define OT_VECTOR_GROW_RATIO 8 11#define OT_VECTOR_GROW_RATIO 8
11#define OT_VECTOR_SHRINK_THRESH 6 12#define OT_VECTOR_SHRINK_THRESH 6
12#define OT_VECTOR_SHRINK_RATIO 4 13#define OT_VECTOR_SHRINK_RATIO 4
14
13typedef struct { 15typedef struct {
14 void *data; 16 void *data;
15 size_t size; 17 size_t size;