From: why the lucky stiff Date: 2006-07-20T15:01:16+09:00 Subject: Re: [YAY] my sandboxing extension!! On Thu, Jul 20, 2006 at 12:26:29AM +0900, why the lucky stiff wrote: > Okay, it turns out that, in order for this to work, I also need the following > as extern or listed in ruby.h: > > error.c: rb_cNameErrorMesg > eval.c: rb_cBinding > eval.c: rb_cMethod > eval.c: rb_cUnboundMethod > eval.c: rb_eLocalJumpError > eval.c: rb_eSysStackError > eval.c: rb_cCont > file.c: rb_cStat > file.c: rb_mFConst > re.c: rb_eRegexpError > re.c: rb_cMatch > I take this back. I can get to all these through rb_const_get. Does anyone know of a way to get to rb_global_tbl, though? I need to be able to replace the pointer directly, but it is defined `static VALUE`. _why