MCPcopy Create free account
hub / github.com/codr7/hacktical-c / hc_vector_get

Function hc_vector_get

vector/vector.c:46–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void *hc_vector_get(struct hc_vector *v, const size_t i) {
47 return v->start ? v->start + v->item_size*i : NULL;
48}
49
50const void *hc_vector_get_const(const struct hc_vector *v, const size_t i) {
51 return v->start ? v->start + v->item_size*i : NULL;

Callers 6

memo_acquireFunction · 0.85
vector_testsFunction · 0.85
hc_vector_insertFunction · 0.85
hc_vector_deleteFunction · 0.85
hc_set_findFunction · 0.85
hc_vm_evalFunction · 0.85

Calls

no outgoing calls

Tested by 1

vector_testsFunction · 0.68