Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
23
void hc_vector_deinit(struct hc_vector *v) {
24
if (v->start) { hc_release(v->malloc, v->start); }
25
}
26
27
void hc_vector_grow(struct hc_vector *v, const size_t capacity) {
28
v->capacity = capacity;
Callers
7
vector_tests
Function · 0.85
memory_deinit
Function · 0.85
hc_set_deinit
Function · 0.85
deinit_stack
Function · 0.85
deinit_ops
Function · 0.85
hc_vm_deinit
Function · 0.85
hc_errors_deinit
Function · 0.85
Calls
no outgoing calls
Tested by
1
vector_tests
Function · 0.68