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

Version Path
debase-0.2.2.beta2 ext/hacks.h
debase-0.2.2.beta1 ext/hacks.h
debase-0.2.1 ext/hacks.h
debase-0.2.0 ext/hacks.h
debase-0.2.0.beta1 ext/hacks.h
debase-0.1.8 ext/hacks.h
debase-0.1.7 ext/hacks.h
debase-0.1.6 ext/hacks.h
debase-0.1.5 ext/hacks.h
debase-0.1.4 ext/hacks.h
debase-0.1.3 ext/hacks.h
debase-0.1.3.beta1 ext/hacks.h
debase-0.1.2 ext/hacks.h
debase-0.1.1 ext/hacks.h
debase-0.1.0 ext/hacks.h
debase-0.0.9 ext/hacks.h
debase-0.0.8 ext/hacks.h
debase-0.0.7 ext/hacks.h
debase-0.0.6 ext/hacks.h
debase-0.0.5 ext/hacks.h