7#define ARRAY_OFFSET SZ_INT * 3
8#define ARRAY_PTR(array) (array->ptr + ARRAY_OFFSET)
9#define ARRAY_LEN(array) *(m_uint *)(array->ptr)
10#define ARRAY_SIZE(array) *(m_uint *)(array->ptr + SZ_INT)
11#define ARRAY_CAP(array) *(m_uint *)(array->ptr + SZ_INT * 2)
ANN void m_vector_add_front(const M_Vector v, const void *data)
ANN void m_vector_set(const M_Vector, const m_uint, const void *)
static ANN m_uint m_vector_size(const M_Vector v)
static ANN M_Vector new_m_vector(MemPool p, const m_uint size, const m_uint len)
#define ARRAY_SIZE(array)
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)
struct M_Vector_ * M_Vector
ANN void m_vector_rem(const M_Vector, const m_uint)
ANN void m_vector_add(const M_Vector, const void *)
static ANN void m_vector_get(const M_Vector v, const m_uint i, void *c)
static ANN void free_m_vector(MemPool p, M_Vector a)
static ANN void m_vector_release(M_Vector a)
static ANN m_bit * m_vector_addr(const M_Vector v, const m_uint i)
#define mp_calloc(p, name)
#define mp_free(p, name, a)