DBCollate


Description:

[ CCode ( has_target = false ) ]
[ Version ( since = "2.24" ) ]
public delegate int DBCollate (void* enc, int length1, void* data1, int length2, void* data2)

A collation callback function.

Parameters:

enc

a used encoding (SQLITE_UTF8)

length1

length of the data1

data1

the first value, of lenth length1

length2

length of the data2

data2

the second value, of lenth length2

Returns:

less than zero, zero, or greater than zero value, the same as for example strcmp does.


Namespace: Camel
Package: camel-1.2