Update mruby 1.4.1
This commit is contained in:
parent
a63558a1eb
commit
88ff8c69a0
|
@ -254,7 +254,7 @@ mrb_value request_mod_header(mrb_state *mrb, mrb_value self, bool repl) {
|
|||
}
|
||||
|
||||
if (mrb_array_p(values)) {
|
||||
auto n = mrb_ary_len(mrb, values);
|
||||
auto n = RARRAY_LEN(values);
|
||||
for (int i = 0; i < n; ++i) {
|
||||
auto value = mrb_ary_ref(mrb, values, i);
|
||||
if (!mrb_string_p(value)) {
|
||||
|
|
|
@ -146,7 +146,7 @@ mrb_value response_mod_header(mrb_state *mrb, mrb_value self, bool repl) {
|
|||
}
|
||||
|
||||
if (mrb_array_p(values)) {
|
||||
auto n = mrb_ary_len(mrb, values);
|
||||
auto n = RARRAY_LEN(values);
|
||||
for (int i = 0; i < n; ++i) {
|
||||
auto value = mrb_ary_ref(mrb, values, i);
|
||||
if (!mrb_string_p(value)) {
|
||||
|
@ -299,7 +299,7 @@ mrb_value response_send_info(mrb_state *mrb, mrb_value self) {
|
|||
auto &balloc = downstream->get_block_allocator();
|
||||
|
||||
auto keys = mrb_hash_keys(mrb, hash);
|
||||
auto keyslen = mrb_ary_len(mrb, keys);
|
||||
auto keyslen = RARRAY_LEN(keys);
|
||||
|
||||
for (int i = 0; i < keyslen; ++i) {
|
||||
auto key = mrb_ary_ref(mrb, keys, i);
|
||||
|
@ -322,7 +322,7 @@ mrb_value response_send_info(mrb_state *mrb, mrb_value self) {
|
|||
auto token = http2::lookup_token(keyref.byte(), keyref.size());
|
||||
|
||||
if (mrb_array_p(values)) {
|
||||
auto n = mrb_ary_len(mrb, values);
|
||||
auto n = RARRAY_LEN(values);
|
||||
for (int i = 0; i < n; ++i) {
|
||||
auto value = mrb_ary_ref(mrb, values, i);
|
||||
if (!mrb_string_p(value)) {
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 4696093673c3352a1897490ecc5e4e4e40f463b5
|
||||
Subproject commit 023070a6396233974785a8fd5735b9380a884f27
|
Loading…
Reference in New Issue