10 while (cap < len) cap *= 2;
33 memcpy(
ARRAY_PTR(v) + i * size, data, size);
50 memcpy(
ARRAY_PTR(v) + index * size, data, size);
meta header (use this to include the whole library)
ANN void m_vector_add(const M_Vector v, const void *data)
ANN void m_vector_add_front(const M_Vector v, const void *data)
ANN void m_vector_set(const M_Vector v, const m_uint i, const void *data)
ANN void m_vector_rem(const M_Vector v, m_uint index)
static ANN void resize(const M_Vector v, const m_uint cap)
ANN void m_vector_insert(const M_Vector v, m_uint index, const void *data)
void m_vector_init(const M_Vector array, const m_uint size, const m_uint len)
#define ARRAY_SIZE(array)
static ANEW void * xcalloc(const m_uint n, const m_uint sz)
static ANEW void * xrealloc(void *p, const m_uint sz)