[前][次][番号順一覧][スレッド一覧]

ruby-changes:62595

From: Nobuyoshi <ko1@a...>
Date: Mon, 17 Aug 2020 14:27:51 +0900 (JST)
Subject: [ruby-changes:62595] a90f29ebb2 (master): procnames-start-lines [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=a90f29ebb2

From a90f29ebb2e3b1b26fb6528104a262537ed251de Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Mon, 17 Aug 2020 14:27:34 +0900
Subject: procnames-start-lines [ci skip]


diff --git a/compile.c b/compile.c
index 8af2f89..daa1485 100644
--- a/compile.c
+++ b/compile.c
@@ -596,7 +596,8 @@ APPEND_ELEM(ISEQ_ARG_DECLARE LINK_ANCHOR *const anchor, LINK_ELEMENT *before, LI https://github.com/ruby/ruby/blob/trunk/compile.c#L596
 #define APPEND_ELEM(anchor, before, elem) APPEND_ELEM(iseq, (anchor), (before), (elem))
 #endif
 
-static int branch_coverage_valid_p(rb_iseq_t *iseq, int first_line)
+static int
+branch_coverage_valid_p(rb_iseq_t *iseq, int first_line)
 {
     if (!ISEQ_COVERAGE(iseq)) return 0;
     if (!ISEQ_BRANCH_COVERAGE(iseq)) return 0;
@@ -604,7 +605,8 @@ static int branch_coverage_valid_p(rb_iseq_t *iseq, int first_line) https://github.com/ruby/ruby/blob/trunk/compile.c#L605
     return 1;
 }
 
-static VALUE decl_branch_base(rb_iseq_t *iseq, const NODE *node, const char *type)
+static VALUE
+decl_branch_base(rb_iseq_t *iseq, const NODE *node, const char *type)
 {
     const int first_lineno = nd_first_lineno(node), first_column = nd_first_column(node);
     const int last_lineno = nd_last_lineno(node), last_column = nd_last_column(node);
@@ -643,7 +645,8 @@ static VALUE decl_branch_base(rb_iseq_t *iseq, const NODE *node, const char *typ https://github.com/ruby/ruby/blob/trunk/compile.c#L645
     return branches;
 }
 
-static void add_trace_branch_coverage(rb_iseq_t *iseq, LINK_ANCHOR *const seq, const NODE *node, int branch_id, const char *type, VALUE branches)
+static void
+add_trace_branch_coverage(rb_iseq_t *iseq, LINK_ANCHOR *const seq, const NODE *node, int branch_id, const char *type, VALUE branches)
 {
     const int first_lineno = nd_first_lineno(node), first_column = nd_first_column(node);
     const int last_lineno = nd_last_lineno(node), last_column = nd_last_column(node);
diff --git a/thread.c b/thread.c
index ed25a96..141df11 100644
--- a/thread.c
+++ b/thread.c
@@ -3590,7 +3590,8 @@ rb_thread_variables(VALUE thread) https://github.com/ruby/ruby/blob/trunk/thread.c#L3590
     return ary;
 }
 
-VALUE rb_thread_scheduler_get(VALUE thread)
+VALUE
+rb_thread_scheduler_get(VALUE thread)
 {
     rb_thread_t * th = rb_thread_ptr(thread);
 
@@ -3599,7 +3600,8 @@ VALUE rb_thread_scheduler_get(VALUE thread) https://github.com/ruby/ruby/blob/trunk/thread.c#L3600
     return th->scheduler;
 }
 
-VALUE rb_thread_scheduler_set(VALUE thread, VALUE scheduler)
+VALUE
+rb_thread_scheduler_set(VALUE thread, VALUE scheduler)
 {
     rb_thread_t * th = rb_thread_ptr(thread);
 
@@ -3624,7 +3626,8 @@ rb_thread_scheduler(VALUE klass) https://github.com/ruby/ruby/blob/trunk/thread.c#L3626
     return rb_thread_scheduler_if_nonblocking(rb_thread_current());
 }
 
-VALUE rb_thread_scheduler_if_nonblocking(VALUE thread)
+VALUE
+rb_thread_scheduler_if_nonblocking(VALUE thread)
 {
     rb_thread_t * th = rb_thread_ptr(thread);
 
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]