diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-08 01:46:07 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-08 01:46:07 +0000 |
commit | 5abd77d9259a25983eebb3c92c204de806ad19fa (patch) | |
tree | cc0441582c5f47746be77f1368a758030b2863a3 /array.c | |
parent | 12a498ff49df781c435ec1243b1e0fc6a7a869fd (diff) | |
download | ruby-5abd77d9259a25983eebb3c92c204de806ad19fa.tar.gz |
array.c: typo fixed; sorry!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r-- | array.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1454,20 +1454,20 @@ sort_reentered(VALUE *klass) static int sort_1(const void *ap, const void *bp, void *dummy) { - VALUE retval = check_reentered(dummy); + VALUE retval = sort_reentered(dummy); VALUE a = *(const VALUE *)ap, b = *(const VALUE *)bp; int n; retval = rb_yield_values(2, a, b); n = rb_cmpint(retval, a, b); - check_reentered(dummy); + sort_reentered(dummy); return n; } static int sort_2(const void *ap, const void *bp, void *dummy) { - VALUE retval = check_reentered(dummy); + VALUE retval = sort_reentered(dummy); VALUE a = *(const VALUE *)ap, b = *(const VALUE *)bp; int n; @@ -1482,7 +1482,7 @@ sort_2(const void *ap, const void *bp, void *dummy) retval = rb_funcall(a, id_cmp, 1, b); n = rb_cmpint(retval, a, b); - check_reentered(dummy); + sort_reentered(dummy); return n; } |