sqlite3_create_function16() private method

private sqlite3_create_function16 ( IntPtr db, string strName, int nArgs, int eTextRep, IntPtr app, SqliteCallback func, SqliteCallback funcstep, SqliteFinalCallback funcfinal ) : int
db System.IntPtr
strName string
nArgs int
eTextRep int
app System.IntPtr
func SqliteCallback
funcstep SqliteCallback
funcfinal SqliteFinalCallback
return int
Beispiel #1
0
        internal override void CreateFunction(string strFunction, int nArgs, SqliteCallback func, SqliteCallback funcstep, SqliteFinalCallback funcfinal)
        {
            int n = UnsafeNativeMethods.sqlite3_create_function16(_sql, strFunction, nArgs, 4, IntPtr.Zero, func, funcstep, funcfinal);

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