biomcmc-lib  0.1
low level library for phylogenetic analysis
Data Fields
char_vector_struct Struct Reference

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
 

Detailed Description

vector of strings (char vectors) of variable length


The documentation for this struct was generated from the following file: