Jason Roelofs wrote:
> So I have some C++ extension code that nicely uses ruby_frame->orig_func 
> and
> ruby_frame->self to figure out the current status of the VM at a given
> method call. Trying to port this to 1.9 is running into some issues, 
> mainly
> that I can't find a replacement for ruby_frame->self. I've found
> rb_frame_callee() to replace ruby_frame->orig_func but cannot find out 
> how
> to get access to the current Ruby "self" object for the call.
> 
> Jason

My best guess: try GET_THREAD()->cfp->self. That's probably not going to 
work, because the variables inside the frame are all different. I'd have 
to see what you need to do with the "self" object.
-- 
Posted via http://www.ruby-forum.com/.