On 6/20/06, Dominik Bathon <dbatml / gmx.de> wrote: > Hi, > > the attached patch adds the function rb_iterate_proc() to eval.c (latest > stable). > > It works like rb_iterate(), but takes a Proc object instead of bl_proc and > data2. It allows to call methods like instance_eval and define_method with > a block argument from a C extension. > > Could this please be applied for Ruby 1.8.5 (and also 1.9). It has been > requested at least three times on ruby-talk recently and it would be very > useful for my Ruby2CExtension project. > > Dominik > > This is very cool. Didn't anyone confirm this patch yet? -- http://nohmad.sub-port.net