sqlite3_create_collation16() private method

private sqlite3_create_collation16 ( IntPtr db, string strName, int eTextRep, IntPtr ctx, SqliteCollation fcompare ) : int
db System.IntPtr
strName string
eTextRep int
ctx System.IntPtr
fcompare SqliteCollation
return int
Example #1
0
        internal override void CreateCollation(string strCollation, SqliteCollation func)
        {
            int n = UnsafeNativeMethods.sqlite3_create_collation16(_sql, strCollation, 4, IntPtr.Zero, func);

            if (n > 0)
            {
                throw new SqliteException(n, SqliteLastError());
            }
        }