mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* cont.c: fixed a function name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
57062d91b9
commit
7f41ff0ff6
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon May 28 10:27:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* cont.c: fixed a function name.
|
||||
|
||||
Mon May 28 03:56:44 2007 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* cont.c: support Fiber. Check test/ruby/test_fiber.rb for detail.
|
||||
|
|
4
cont.c
4
cont.c
|
@ -145,6 +145,8 @@ cont_capture(volatile int *stat)
|
|||
}
|
||||
}
|
||||
|
||||
NORETURN(static void cont_restore_1(rb_context_t *));
|
||||
|
||||
static void
|
||||
cont_restore_1(rb_context_t *cont)
|
||||
{
|
||||
|
@ -181,7 +183,7 @@ cont_restore_1(rb_context_t *cont)
|
|||
ruby_longjmp(cont->jmpbuf, 1);
|
||||
}
|
||||
|
||||
NORETURN(NOINLINE(static void restore_context_0(rb_context_t *, VALUE *)));
|
||||
NORETURN(NOINLINE(static void cont_restore_0(rb_context_t *, VALUE *)));
|
||||
|
||||
static void
|
||||
cont_restore_0(rb_context_t *cont, VALUE *addr_in_prev_frame)
|
||||
|
|
Loading…
Reference in a new issue