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

ruby-changes:74456

From: Kenta <ko1@a...>
Date: Sun, 13 Nov 2022 11:02:19 +0900 (JST)
Subject: [ruby-changes:74456] 977aac057f (master): [ruby/bigdecimal] Make GetVpValue inline

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

From 977aac057f590ea19754d03e1475b470fc07c7d3 Mon Sep 17 00:00:00 2001
From: Kenta Murata <mrkn@m...>
Date: Sun, 13 Nov 2022 10:11:27 +0900
Subject: [ruby/bigdecimal] Make GetVpValue inline

https://github.com/ruby/bigdecimal/commit/1b642e2e59
---
 ext/bigdecimal/bigdecimal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c
index 51bef76414..c8f55bce3d 100644
--- a/ext/bigdecimal/bigdecimal.c
+++ b/ext/bigdecimal/bigdecimal.c
@@ -249,7 +249,7 @@ SomeOneMayDoIt: https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/bigdecimal.c#L249
     return NULL; /* NULL means to coerce */
 }
 
-static Real*
+static inline Real*
 GetVpValue(VALUE v, int must)
 {
     return GetVpValueWithPrec(v, -1, must);
-- 
cgit v1.2.3


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

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