Typedef rc_vector_t#

Typedef Documentation#

typedef struct rc_vector_t rc_vector_t

Struct containing the state of a vector and a pointer to dynamically allocated memory to hold its contents.

Set and read values directly with this code:

vec.d[position]=new_value; // set value in the vector
value = v.d[pos]; // get value from vector