From: ts Date: 2003-12-12T19:51:30+09:00 Subject: Re: getting a method from a block in C >>>>> "e" == elathan writes: >> don't forget to define a mark function, and call rb_gc_mark(proc) e> You mean a mark function for the Ruby garbage collector? yes, the block must be marked otherwise the ruby GC will remove it. This mean that you must define a mark function for your C++ object and call rb_gc_mark(proc) inside it. Guy Decoux