mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@41bf282
This commit is contained in:
parent
5d21050182
commit
a0f5ff4c3c
75 changed files with 851 additions and 143 deletions
|
|
@ -43,7 +43,7 @@ VALUE io_spec_rb_io_addstr(VALUE self, VALUE io, VALUE str) {
|
|||
|
||||
VALUE io_spec_rb_io_printf(VALUE self, VALUE io, VALUE ary) {
|
||||
long argc = RARRAY_LEN(ary);
|
||||
VALUE *argv = alloca(sizeof(VALUE) * argc);
|
||||
VALUE *argv = (VALUE*) alloca(sizeof(VALUE) * argc);
|
||||
int i;
|
||||
|
||||
for (i = 0; i < argc; i++) {
|
||||
|
|
@ -55,7 +55,7 @@ VALUE io_spec_rb_io_printf(VALUE self, VALUE io, VALUE ary) {
|
|||
|
||||
VALUE io_spec_rb_io_print(VALUE self, VALUE io, VALUE ary) {
|
||||
long argc = RARRAY_LEN(ary);
|
||||
VALUE *argv = alloca(sizeof(VALUE) * argc);
|
||||
VALUE *argv = (VALUE*) alloca(sizeof(VALUE) * argc);
|
||||
int i;
|
||||
|
||||
for (i = 0; i < argc; i++) {
|
||||
|
|
@ -67,7 +67,7 @@ VALUE io_spec_rb_io_print(VALUE self, VALUE io, VALUE ary) {
|
|||
|
||||
VALUE io_spec_rb_io_puts(VALUE self, VALUE io, VALUE ary) {
|
||||
long argc = RARRAY_LEN(ary);
|
||||
VALUE *argv = alloca(sizeof(VALUE) * argc);
|
||||
VALUE *argv = (VALUE*) alloca(sizeof(VALUE) * argc);
|
||||
int i;
|
||||
|
||||
for (i = 0; i < argc; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue