mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
array.c (ary_check_too_big): make the function inline.
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ ary_too_big(mrb_state *mrb)
|
||||
mrb_raise(mrb, E_ARGUMENT_ERROR, "array size too big");
|
||||
}
|
||||
|
||||
static void
|
||||
static inline void
|
||||
ary_check_too_big(mrb_state *mrb, mrb_int a, mrb_int b)
|
||||
{
|
||||
if (a > ARY_MAX_SIZE - b || a < 0)
|
||||
|
||||
Reference in New Issue
Block a user