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

ruby-changes:57869

From: Nobuyoshi <ko1@a...>
Date: Mon, 23 Sep 2019 02:22:36 +0900 (JST)
Subject: [ruby-changes:57869] 142efba93e (master): Adjusted directives order of a function [ci skip]

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

From 142efba93e91209a7f336863974d4c84a969e2a3 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Mon, 23 Sep 2019 02:20:43 +0900
Subject: Adjusted directives order of a function [ci skip]


diff --git a/thread.c b/thread.c
index 91f07e8..09f4135 100644
--- a/thread.c
+++ b/thread.c
@@ -106,7 +106,9 @@ enum SLEEP_FLAGS { https://github.com/ruby/ruby/blob/trunk/thread.c#L106
 #define THREAD_LOCAL_STORAGE_INITIALISED FL_USER13
 #define THREAD_LOCAL_STORAGE_INITIALISED_P(th) RB_FL_TEST_RAW((th), THREAD_LOCAL_STORAGE_INITIALISED)
 
-static VALUE inline rb_thread_local_storage(VALUE thread) {
+static inline VALUE
+rb_thread_local_storage(VALUE thread)
+{
     if (LIKELY(!THREAD_LOCAL_STORAGE_INITIALISED_P(thread))) {
         rb_ivar_set(thread, idLocals, rb_hash_new());
         RB_FL_SET_RAW(thread, THREAD_LOCAL_STORAGE_INITIALISED);
-- 
cgit v0.10.2


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

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