>>>>> "C" == Chris Pine <nemo / hellotree.com> writes:

C>   if(!rb_obj_is_kind_of(recv, data->oklass)) {

 This is a stupid example, but with your modified version of ruby try

   a = Numeric.instance_method(:to_int)
   b = Method.instance_method(:call).bind(a)
   b.call


Guy Decoux