From: Joel VanderWerf Date: 2001-12-08T16:18:15+09:00 Subject: [ruby-talk:27904] Re: passing a block from C to Ruby ts wrote: > > >>>>> "J" == Joel VanderWerf writes: > > J> In my C function, which is in fact a #new method, I call initialize: > > J> rb_apply(object, ID_of_initialize, args); > > I've forgotten to say. In your case it's easier to call rb_obj_call_init() > because it propagate the block > > Guy Decoux Thanks, that does it nicely. -- Joel VanderWerf California PATH, UC Berkeley mailto:vjoel@path.berkeley.edu Ph. (510) 231-9446 http://www.path.berkeley.edu FAX (510) 231-9512