MCPcopy Create free account
hub / github.com/KaisenAmin/c_std / stack_capacity

Function stack_capacity

stack/stack.c:144–149  ·  view source on GitHub ↗

@brief Storage capacity of the underlying vector. */

Source from the content-addressed store, hash-verified

142
143
144/** @brief Storage capacity of the underlying vector. */
145size_t stack_capacity(const Stack* stk) {
146 if (!stk || !stk->vec) {
147 return 0;
148 }
149 return vector_capacity((Vector*)stk->vec);
150}
151
152

Callers

nothing calls this directly

Calls 1

vector_capacityFunction · 0.85

Tested by

no test coverage detected