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

Function hc_vector_deinit

vector/vector.c:23–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23void hc_vector_deinit(struct hc_vector *v) {
24 if (v->start) { hc_release(v->malloc, v->start); }
25}
26
27void hc_vector_grow(struct hc_vector *v, const size_t capacity) {
28 v->capacity = capacity;

Callers 7

vector_testsFunction · 0.85
memory_deinitFunction · 0.85
hc_set_deinitFunction · 0.85
deinit_stackFunction · 0.85
deinit_opsFunction · 0.85
hc_vm_deinitFunction · 0.85
hc_errors_deinitFunction · 0.85

Calls

no outgoing calls

Tested by 1

vector_testsFunction · 0.68