MCPcopy Create free account
hub / github.com/IoLanguage/io / Stack_popMarkPoint_

Function Stack_popMarkPoint_

libs/basekit/source/Stack_inline.h:106–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106IOINLINE int Stack_popMarkPoint_(Stack *self, intptr_t mark) {
107 while (self->lastMark && self->lastMark != mark) {
108 Stack_popMark(self);
109 }
110
111 if (self->lastMark != mark) {
112 return 0;
113 }
114
115 Stack_popMark(self);
116 return 1;
117}
118
119IOINLINE void Stack_clearTop(Stack *self) {
120 Stack_popMark(self);

Callers 1

IoState_popRetainPool_Function · 0.85

Calls 1

Stack_popMarkFunction · 0.85

Tested by

no test coverage detected