Ruby  1.9.3p551(2014-11-13revision48407)
passing_block.c
Go to the documentation of this file.
1 #include "ruby.h"
2 
4 
5 static VALUE
7 {
8  return rb_funcall2(self, rb_intern("target"), argc, argv);
9 }
10 
11 static VALUE
13 {
14  return rb_funcall_passing_block(self, rb_intern("target"), argc, argv);
15 }
16 
17 void
19 {
20  VALUE cRelay = rb_path2class("TestFuncall::Relay");
21 
23  "with_funcall2",
25  -1);
27  "with_funcall_passing_block",
29  -1);
30 }
31