CompareRowSizedFunc


Description:

[ CCode ( instance_pos = 2.9 ) ]
public delegate int CompareRowSizedFunc (Variant[] row1, Variant[] row2)

Compares row1 and row2.

Mainly used with insert_row_sorted_with_sizes and find_row_sorted_with_sizes.

Parameters:

row1

Row data

row2

Row data to compare with

row1_length

The number of elements in row1 array

row2_length

The number of elements in row2 array

user_data

User data passed to comparison function

Returns:

-1, 0, or 1 if row1 is respectively less than, equal, or greater than row2.


Namespace: Dee
Package: dee-1.0