Depth-Studios
Welcome guest (Login / Register)
vector t

Definition


/* Type definition for the vector struct. */
typedef struct vector_t
{
	// holds the actual user data
	void **data;
 
	// size of the vector
	size_t size;
 
	// current amount of data allocated
	size_t data_allocated;
 
	// buffer for the data to allocate
	size_t buffer;
 
	// compare function
	compare_vector_value_t compare_func;
} vector_t;


Description


Container for all vectors.