From a9f02eb6a428641bdbbbdf0c33d0da223e63b819 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Sat, 17 Jan 2026 11:13:59 +0900 Subject: [PATCH] bigint.c: add inline to limb_popcount() Small helper called in a loop from mpz_popcount(). Co-authored-by: Claude --- mrbgems/mruby-bigint/core/bigint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mrbgems/mruby-bigint/core/bigint.c b/mrbgems/mruby-bigint/core/bigint.c index d02ef99d5..1538acedb 100644 --- a/mrbgems/mruby-bigint/core/bigint.c +++ b/mrbgems/mruby-bigint/core/bigint.c @@ -1957,7 +1957,7 @@ mpz_power_of_2_exp(mpz_t *x) } /* Count set bits in a limb */ -static int +static inline int limb_popcount(mp_limb x) { #if defined(__GNUC__) || __has_builtin(__builtin_popcount)