ruby-changes:64094
From: Nobuyoshi <ko1@a...>
Date: Fri, 11 Dec 2020 14:09:56 +0900 (JST)
Subject: [ruby-changes:64094] bca57b911a (master): [DOC] Moved RDoc of abort [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=bca57b911a From bca57b911a185ab3d0fe19f6f739f6b27bfd48c5 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Fri, 11 Dec 2020 14:09:34 +0900 Subject: [DOC] Moved RDoc of abort [ci skip] diff --git a/process.c b/process.c index 0c59fcd..1ff203d 100644 --- a/process.c +++ b/process.c @@ -4460,17 +4460,6 @@ f_exit(int c, const VALUE *a, VALUE _) https://github.com/ruby/ruby/blob/trunk/process.c#L4460 UNREACHABLE_RETURN(Qnil); } -/* - * call-seq: - * abort - * Kernel::abort([msg]) - * Process.abort([msg]) - * - * Terminate execution immediately, effectively by calling - * <code>Kernel.exit(false)</code>. If _msg_ is given, it is written - * to STDERR prior to terminating. - */ - VALUE rb_f_abort(int argc, const VALUE *argv) { @@ -4497,6 +4486,18 @@ rb_f_abort(int argc, const VALUE *argv) https://github.com/ruby/ruby/blob/trunk/process.c#L4486 } NORETURN(static VALUE f_abort(int c, const VALUE *a, VALUE _)); + +/* + * call-seq: + * abort + * Kernel::abort([msg]) + * Process.abort([msg]) + * + * Terminate execution immediately, effectively by calling + * <code>Kernel.exit(false)</code>. If _msg_ is given, it is written + * to STDERR prior to terminating. + */ + static VALUE f_abort(int c, const VALUE *a, VALUE _) { -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/