From: "Iñaki Baz Castillo" Date: 2012-06-14T17:19:33+09:00 Subject: Re: [C exten] is there a C function for creating a instance of a given class by passing N arguments? 2012/6/14 Eric Hodel : > 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() Great, thanks a lot. -- Iñaki Baz Castillo