1
0
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:
Calvin Rose 2020-12-07 15:56:25 -06:00 committed by GitHub
commit 6fb83dce06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;