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

Function stack_empty

stack/stack.h:64–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62
63
64static inline bool stack_empty(const Stack* stk) {
65 return !stk || !stk->vec || stk->vec->size == 0;
66}
67
68
69static inline void* stack_top(const Stack* stk) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected