From: Andre Nathan Date: 2007-12-31T22:18:37+09:00 Subject: Re: Using "sort!" in a C extension (1.9 problem) Hi On Mon, 2007-12-31 at 12:39 +0900, Ken Bloom wrote: > So sort_i needs to be revised to take two parameters, as follows: > > static VALUE > sort_i(VALUE first, VALUE second) > { > long v1 = FIX2LONG(first); > long v2 = FIX2LONG(second); > return LONG2FIX(v1 - v2); > } I've tried this, but "second" has the value "false", while "first" is still the current element of the array. Andre