P
Peter Zotov
Hi.
How can I call Ruby function from C with block?
E. g.
VALUE block = rb_proc_new(...);
rb_funcall_with_block(cMyClass, rb_intern("initialize"), 0, block);
WBR, Peter Zotov
How can I call Ruby function from C with block?
E. g.
VALUE block = rb_proc_new(...);
rb_funcall_with_block(cMyClass, rb_intern("initialize"), 0, block);
WBR, Peter Zotov