From: William Djaja Tjokroaminata Date: 2002-09-05T03:24:57+09:00 Subject: Is It Possible to Create Block from within C? Hi, I have the following Ruby code: obj.func() do |arg| statements end How can I translate this into the corresponding C code? Basically the function func() takes a block and it has been written in C without any problem and it already works with Ruby scripts. Is it simply impossible to create a Ruby block from within C, just as it is impossible to get function pointers of the Ruby methods (as they are stored as nodes)? Regards, Bill