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

Function stack_push

stack/stack.h:77–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75
76
77static inline bool stack_push(Stack* stk, const void* item) {
78 if (!stk || !stk->vec || !item) {
79 return false;
80 }
81 return vector_push_back(stk->vec, item);
82}
83
84
85static inline bool stack_pop_void(Stack* stk) {

Callers

nothing calls this directly

Calls 1

vector_push_backFunction · 0.85

Tested by

no test coverage detected