diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-11-26 20:48:04 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu.nakada@gmail.com> | 2024-11-27 10:47:40 +0900 |
| commit | 42b1eaf2346748dd5ba7135aa30552e1ed0092ae (patch) | |
| tree | c2fd1120898b453c1a102fddd73c327645ec8103 | |
| parent | d5de1a57893b16aff7bc3336b34fa2e9acefb3d2 (diff) | |
Mark `fiber_entry` no-return
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12176
| -rw-r--r-- | cont.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -822,6 +822,7 @@ fiber_restore_thread(rb_thread_t *th, rb_fiber_t *fiber) VM_ASSERT(th->ec->fiber_ptr == fiber); } +NORETURN(static COROUTINE fiber_entry(struct coroutine_context * from, struct coroutine_context * to)); static COROUTINE fiber_entry(struct coroutine_context * from, struct coroutine_context * to) { |
