| 106 | |
| 107 | |
| 108 | static inline void* stack_pop(Stack* stk) { |
| 109 | if (!stk || !stk->vec || stk->vec->size == 0) { |
| 110 | return NULL; |
| 111 | } |
| 112 | stk->vec->size--; |
| 113 | return (char*)stk->vec->items + stk->vec->size * stk->vec->itemSize; |
| 114 | } |
| 115 | |
| 116 | |
| 117 | /* ------------------------------------------------------------------ */ |
nothing calls this directly
no outgoing calls
no test coverage detected