| 77 | } |
| 78 | |
| 79 | IOINLINE void *Stack_pop(Stack *self) { |
| 80 | void *top = *(self->top); |
| 81 | |
| 82 | if (self->items != self->top) { |
| 83 | #ifdef STACK_POP_CALLBACK |
| 84 | if (self->popCallback) |
| 85 | self->popCallback(*(self->top)); |
| 86 | #endif |
| 87 | self->top--; |
| 88 | } |
| 89 | |
| 90 | return top; |
| 91 | } |
| 92 | |
| 93 | IOINLINE void Stack_popMark(Stack *self) { |
| 94 | #ifdef STACK_POP_CALLBACK |
no outgoing calls
no test coverage detected