Sha256: 62e62ac8aca39970ac09d370ce925c47609f9638f185e516ffbf4d61c1bec4e6
Contents?: true
Size: 350 Bytes
Versions: 20
Compression:
Stored size: 350 Bytes
Contents
#include <vm_core.h> #define ruby_current_thread ((rb_thread_t *)RTYPEDDATA_DATA(rb_thread_current())) extern void update_stack_size(debug_context_t *context) { rb_thread_t *thread; thread = ruby_current_thread; /* see backtrace_each in vm_backtrace.c */ context->stack_size = (int)(RUBY_VM_END_CONTROL_FRAME(thread) - thread->cfp - 1); }
Version data entries
20 entries across 20 versions & 1 rubygems