mirror of
https://github.com/janet-lang/janet
synced 2024-12-27 17:00:27 +00:00
Merge pull request #526 from sogaiu/tweak-comment
Tweak comment for janet_fiber_popframe
This commit is contained in:
commit
6fb83dce06
@ -420,8 +420,7 @@ void janet_fiber_cframe(JanetFiber *fiber, JanetCFunction cfun) {
|
|||||||
newframe->flags = 0;
|
newframe->flags = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Pop a stack frame from the fiber. Returns the new stack frame, or
|
/* Pop a stack frame from the fiber. */
|
||||||
* NULL if there are no more frames */
|
|
||||||
void janet_fiber_popframe(JanetFiber *fiber) {
|
void janet_fiber_popframe(JanetFiber *fiber) {
|
||||||
JanetStackFrame *frame = janet_fiber_frame(fiber);
|
JanetStackFrame *frame = janet_fiber_frame(fiber);
|
||||||
if (fiber->frame == 0) return;
|
if (fiber->frame == 0) return;
|
||||||
|
Loading…
Reference in New Issue
Block a user