• dearblue's avatar
    Prohibit array changes by "a"/"*" specifier of `mrb_get_args()` · f0a64329
    dearblue authored
    The "a"/"*" specifier of the `mrb_get_args()` function will now return `const mrb_value *`.
    This is because it is difficult for the caller to check if it is an array object and write-barrier if necessary.
    And it requires calling `mrb_ary_modify()` on the unmodified array object, which is also difficult (this is similar to #5087).
    f0a64329
driver.c 7.93 KB