a->cap *= 2;
a->data = realloc(a->data, sizeof(void*) * a->cap);
}
a->len++;
a->data[a->len] = d;
a->data[a->len+1] = NULL;
void