biomcmc-lib
0.1
low level library for phylogenetic analysis
|
vector of strings (char vectors) of variable length More...
#include <char_vector.h>
Data Fields | |
char ** | string |
int | nstrings |
vector of strings | |
size_t * | alloc |
how many strings | |
size_t * | nchars |
in some cases (e.g. huge fasta files) we need to reduce calls to realloc() | |
int | ref_counter |
length of allocated memory for each string excluding the ending '\0' (the actual size in use needs strlen() or a call to char_vector_compress() over the structure ) | |
int | next_avail |
how many times this char_vector_struct is being used | |
vector of strings (char vectors) of variable length