mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
vm_trace.c: spelling fix: PJRR_SUCESS => PJRR_SUCCESS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0f0311df0a
commit
61d4df8920
1 changed files with 4 additions and 4 deletions
|
@ -1535,7 +1535,7 @@ Init_postponed_job(void)
|
|||
}
|
||||
|
||||
enum postponed_job_register_result {
|
||||
PJRR_SUCESS = 0,
|
||||
PJRR_SUCCESS = 0,
|
||||
PJRR_FULL = 1,
|
||||
PJRR_INTERRUPTED = 2
|
||||
};
|
||||
|
@ -1561,7 +1561,7 @@ postponed_job_register(rb_execution_context_t *ec, rb_vm_t *vm,
|
|||
|
||||
RUBY_VM_SET_POSTPONED_JOB_INTERRUPT(ec);
|
||||
|
||||
return PJRR_SUCESS;
|
||||
return PJRR_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
|
@ -1574,7 +1574,7 @@ rb_postponed_job_register(unsigned int flags, rb_postponed_job_func_t func, void
|
|||
|
||||
begin:
|
||||
switch (postponed_job_register(ec, vm, flags, func, data, MAX_POSTPONED_JOB, vm->postponed_job_index)) {
|
||||
case PJRR_SUCESS : return 1;
|
||||
case PJRR_SUCCESS : return 1;
|
||||
case PJRR_FULL : return 0;
|
||||
case PJRR_INTERRUPTED: goto begin;
|
||||
default: rb_bug("unreachable\n");
|
||||
|
@ -1600,7 +1600,7 @@ rb_postponed_job_register_one(unsigned int flags, rb_postponed_job_func_t func,
|
|||
}
|
||||
}
|
||||
switch (postponed_job_register(ec, vm, flags, func, data, MAX_POSTPONED_JOB + MAX_POSTPONED_JOB_SPECIAL_ADDITION, index)) {
|
||||
case PJRR_SUCESS : return 1;
|
||||
case PJRR_SUCCESS : return 1;
|
||||
case PJRR_FULL : return 0;
|
||||
case PJRR_INTERRUPTED: goto begin;
|
||||
default: rb_bug("unreachable\n");
|
||||
|
|
Loading…
Reference in a new issue