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() ?
Thanks a lot.
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() ?
Thanks a lot.
On Jun 13, 2012, at 10:12, Iaki Baz C. 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()
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs