summaryrefslogtreecommitdiff
path: root/ext/bigdecimal
diff options
context:
space:
mode:
authorKenta Murata <mrkn@mrkn.jp>2022-11-13 10:11:27 +0900
committergit <svn-admin@ruby-lang.org>2022-11-13 02:02:00 +0000
commit977aac057f590ea19754d03e1475b470fc07c7d3 (patch)
treead6657ec9dc8bcfac153c2c065d480525a9859c0 /ext/bigdecimal
parent0d5248673da4399cd5ee7899f988213fff177e87 (diff)
[ruby/bigdecimal] Make GetVpValue inline
https://github.com/ruby/bigdecimal/commit/1b642e2e59
Diffstat (limited to 'ext/bigdecimal')
-rw-r--r--ext/bigdecimal/bigdecimal.c2
1 files changed, 1 insertions, 1 deletions
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:
return NULL; /* NULL means to coerce */
}
-static Real*
+static inline Real*
GetVpValue(VALUE v, int must)
{
return GetVpValueWithPrec(v, -1, must);