From: Eric Hodel Date: 2012-06-14T07:24:37+09:00 Subject: Re: [C exten] is there a C function for creating a instance of a given class by passing N arguments? On Jun 13, 2012, at 10:12, Iņaki Baz Castillo wrote: > Hi, sure I miss something in the Ruby MRI C API, but I don't find a > function like: > > > VALUE object = rb_new_instance(VALUE klass, int num_args, ...) > > > Does it exist? or should I use rb_funcall() ? rb_class_new_instance()