diff options
author | erdgeist <> | 2007-11-12 01:40:00 +0000 |
---|---|---|
committer | erdgeist <> | 2007-11-12 01:40:00 +0000 |
commit | ed0b67020a772297b88e97105152410028950797 (patch) | |
tree | 6a3415e46de51fd2bf502d924a04502706b7969a /ot_vector.h | |
parent | bb80834bf1f676f4fc1a5fb444c19f711ebc2e67 (diff) |
Dokumentation
Diffstat (limited to 'ot_vector.h')
-rw-r--r-- | ot_vector.h | 2 |
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 | |||
13 | typedef struct { | 15 | typedef struct { |
14 | void *data; | 16 | void *data; |
15 | size_t size; | 17 | size_t size; |