* cont.c: fixed types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cfacda1a9f
commit
99945ed664
6
cont.c
6
cont.c
@ -29,8 +29,8 @@ typedef struct rb_context_struct {
|
|||||||
VALUE value;
|
VALUE value;
|
||||||
VALUE *vm_stack;
|
VALUE *vm_stack;
|
||||||
#ifdef CAPTURE_JUST_VALID_VM_STACK
|
#ifdef CAPTURE_JUST_VALID_VM_STACK
|
||||||
int vm_stack_slen; /* length of stack (head of th->stack) */
|
size_t vm_stack_slen; /* length of stack (head of th->stack) */
|
||||||
int vm_stack_clen; /* length of control frames (tail of th->stack) */
|
size_t vm_stack_clen; /* length of control frames (tail of th->stack) */
|
||||||
#endif
|
#endif
|
||||||
VALUE *machine_stack;
|
VALUE *machine_stack;
|
||||||
VALUE *machine_stack_src;
|
VALUE *machine_stack_src;
|
||||||
@ -179,7 +179,7 @@ fiber_free(void *ptr)
|
|||||||
static void
|
static void
|
||||||
cont_save_machine_stack(rb_thread_t *th, rb_context_t *cont)
|
cont_save_machine_stack(rb_thread_t *th, rb_context_t *cont)
|
||||||
{
|
{
|
||||||
int size;
|
size_t size;
|
||||||
rb_thread_t *sth = &cont->saved_thread;
|
rb_thread_t *sth = &cont->saved_thread;
|
||||||
|
|
||||||
SET_MACHINE_STACK_END(&th->machine_stack_end);
|
SET_MACHINE_STACK_END(&th->machine_stack_end);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user