static long NUM2LONG(VALUE x)
static VALUE ary_resize(VALUE ary, VALUE len)
register unsigned int len
VALUE rb_ary_resize(VALUE ary, long len)
expands or shrinks ary to len elements.
void rb_define_method(VALUE klass, const char *name, VALUE(*func)(ANYARGS), int argc)