J
John Mair
Hello friends,
Im writing a ruby C API program, and i have this difficulty:
VALUE
m_func1(VALUE self) {
m_func2();
}
the problem i have is that if a block is passed to m_func1 it seems to
also
be passed onto m_func2, how do i stop it being passed on? is there a way
to
'delete' a block after i've finished with it? (i.e yielded to it)
thx
john
Im writing a ruby C API program, and i have this difficulty:
VALUE
m_func1(VALUE self) {
m_func2();
}
the problem i have is that if a block is passed to m_func1 it seems to
also
be passed onto m_func2, how do i stop it being passed on? is there a way
to
'delete' a block after i've finished with it? (i.e yielded to it)
thx
john