function proc_eq

static VALUE proc_eq(VALUE self, VALUE other)