From: John Lam Date: 2006-04-15T02:33:51+09:00 Subject: Calling instance_eval on a block in C ------=_Part_37219_15103808.1145036027915 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline If I have this ruby method: def eval_it(obj, &b) obj.instance_eval(&b) end How do write the C code to make this happen? If I do this: rb_funcall(obj, rb_intern("instance_eval"), 1, zz); Ruby is apparently expecting a String for the type of zz. Any ideas? Thanks! -John http://www.iunknown.com ------=_Part_37219_15103808.1145036027915--