| 91 | } |
| 92 | |
| 93 | IOINLINE void Stack_popMark(Stack *self) { |
| 94 | #ifdef STACK_POP_CALLBACK |
| 95 | if (self->popCallback) |
| 96 | Stack_doUntilMark_(self, self->popCallback); |
| 97 | #endif |
| 98 | |
| 99 | self->top = self->items + self->lastMark - 1; |
| 100 | |
| 101 | if (self->lastMark) { |
| 102 | self->lastMark = (intptr_t)(self->items[self->lastMark]); |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | IOINLINE int Stack_popMarkPoint_(Stack *self, intptr_t mark) { |
| 107 | while (self->lastMark && self->lastMark != mark) { |
no test coverage detected