From: Peter Zotov Date: 2009-03-30T00:58:20+09:00 Subject: Re: Passing block in C Quoting Phlip : > Peter Zotov wrote: > >> 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); > > Let me Google that for you! > > http://www.google.com/codesearch?q=rb_proc_new Ehm. I meant 'what function must be in place of rb_funcall_with_block'. I _know_ how do rb_proc_new work. WBR, Peter Zotov