diff options
author | Kazuhiro NISHIYAMA <[email protected]> | 2021-12-21 17:39:43 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <[email protected]> | 2021-12-21 17:40:15 +0900 |
commit | b9aefdfc9f57edbfd286209eca2ab360848f2478 (patch) | |
tree | 9286bad22689ef2a70e0eaf0f0ecf41f9a9659f4 /proc.c | |
parent | 1855f901c801a4c21e0d2834da8ef914bf47f3d9 (diff) |
Fix typos
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2699,7 +2699,7 @@ method_def_min_max_arity(const rb_method_definition_t *def, int *max) } static int -method_def_aritry(const rb_method_definition_t *def) +method_def_arity(const rb_method_definition_t *def) { int max, min = method_def_min_max_arity(def, &max); return min == max ? min : -min-1; @@ -2708,7 +2708,7 @@ method_def_aritry(const rb_method_definition_t *def) int rb_method_entry_arity(const rb_method_entry_t *me) { - return method_def_aritry(me->def); + return method_def_arity(me->def); } /* @@ -2969,7 +2969,7 @@ method_def_parameters(const rb_method_definition_t *def) break; } - return rb_unnamed_parameters(method_def_aritry(def)); + return rb_unnamed_parameters(method_def_arity(def)); } |