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

Function Stack_clearTop

libs/basekit/source/Stack_inline.h:119–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119IOINLINE void Stack_clearTop(Stack *self) {
120 Stack_popMark(self);
121 Stack_pushMark(self);
122 // self->top = self->items + self->lastMark;
123}
124
125IOINLINE void *Stack_top(const Stack *self) { return *(self->top); }
126

Callers 1

IoState_clearTopPoolFunction · 0.85

Calls 2

Stack_popMarkFunction · 0.85
Stack_pushMarkFunction · 0.85

Tested by

no test coverage detected