CompareRowFunc


Description:

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

Compares row1 and row2.

Mainly used with insert_sorted and find_sorted.

Parameters:

row1

The model being indexed

row2

The row to extract terms for

user_data

User data to pass 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



2022 vala-language.org