/* * call-seq: * dvector.where_last_ne(number) -> int or nil * * Returns the index of the last entry in _dvector_ with value not equal _number_, <code>nil</code> if * _dvector_ has no such entry. * * a = Dvector[ 1, 2, -3, 4, -5, 4, 3, -5, 2 ] * a.where_last_ne(2) -> 7 * Dvector[0].where_last_ne(0) -> nil * Dvector[].where_last_ne(0) -> nil */ VALUE dvector_where_last_ne(VALUE ary, VALUE item) {