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

Function stack_pop_void

stack/stack.h:85–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83
84
85static inline bool stack_pop_void(Stack* stk) {
86 if (!stk || !stk->vec || stk->vec->size == 0) {
87 return false;
88 }
89 stk->vec->size--;
90 return true;
91}
92
93
94static inline bool stack_pop_value(Stack* stk, void* out_buf) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected