@brief Storage capacity of the underlying vector. */
| 142 | |
| 143 | |
| 144 | /** @brief Storage capacity of the underlying vector. */ |
| 145 | size_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 |
nothing calls this directly
no test coverage detected