rb_scan_args (argc, argv, "11", &tag, &type);
- ary = rb_ary_new3 (1, self);
+ ary = rb_ary_new4 (1, &self);
if (type == sym_char)
cfmt = "c";
args[1] = rb_funcall (ary, id_pack, 1, rb_str_new2 (cfmt));
chunk = rb_class_new_instance (2, args, cChunk);
- return rb_ary_new3 (1, chunk);
+ return rb_ary_new4 (1, &chunk);
}
static VALUE
args[1] = rb_str_new (buf, len);
chunk = rb_class_new_instance (2, args, cChunk);
- return rb_ary_new3 (1, chunk);
+ return rb_ary_new4 (1, &chunk);
}
void