CompletionStrncmpFunc


Description:

[ CCode ( has_target = false ) ]
public delegate int CompletionStrncmpFunc (string s1, string s2, size_t n)

Specifies the type of the function passed to g_completion_set_compare.

Note:

Rarely used API

This is used when you use strings as Completion items.

Parameters:

s1

string to compare with s2.

s2

string to compare with s1.

n

maximal number of bytes to compare.

Returns:

an integer less than, equal to, or greater than zero if the first n bytes of s1 is found, respectively, to be less than, to match, or to be greater than the first n bytes of s2.


Namespace: GLib
Package: glib-2.0