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

ruby-changes:57861

From: Yusuke <ko1@a...>
Date: Sun, 22 Sep 2019 17:01:17 +0900 (JST)
Subject: [ruby-changes:57861] 2272efa463 (master): st.c (st_add_direct_with_hash): make it "static inline"

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

From 2272efa4632a845ead37377a22ad9e24b45ebf27 Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Sun, 22 Sep 2019 16:35:50 +0900
Subject: st.c (st_add_direct_with_hash): make it "static inline"

It was originally static inline, but seemed to be accidentally published
at 8f675cdd00e2c5b5a0f143f5e508dbbafdb20ccd.

diff --git a/st.c b/st.c
index 618143f..891fe8d 100644
--- a/st.c
+++ b/st.c
@@ -1197,7 +1197,7 @@ st_insert(st_table *tab, st_data_t key, st_data_t value) https://github.com/ruby/ruby/blob/trunk/st.c#L1197
 
 /* Insert (KEY, VALUE, HASH) into table TAB.  The table should not have
    entry with KEY before the insertion.  */
-void
+static inline void
 st_add_direct_with_hash(st_table *tab,
 			st_data_t key, st_data_t value, st_hash_t hash)
 {
-- 
cgit v0.10.2


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

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