internal override void SetCommitHook(SQLiteCommitCallback func) { commit_callback = func; if (func == null) { UnsafeNativeMethods.sqlite3_commit_hook(_sql, null, IntPtr.Zero); } else { UnsafeNativeMethods.sqlite3_commit_hook(_sql, commit, GCHandle.ToIntPtr(gch)); } }
internal abstract void SetCommitHook(SQLiteCommitCallback func);
internal static extern IntPtr sqlite3_commit_hook(IntPtr db, SQLiteCommitCallback func, IntPtr pvUser);
internal override void SetCommitHook(SQLiteCommitCallback func) { UnsafeNativeMethods.sqlite3_commit_hook(_sql, func, IntPtr.Zero); }
internal override void SetCommitHook (SQLiteCommitCallback func) { commit_callback = func; if (func == null) UnsafeNativeMethods.sqlite3_commit_hook (_sql, null, IntPtr.Zero); else UnsafeNativeMethods.sqlite3_commit_hook (_sql, commit, GCHandle.ToIntPtr (gch)); }
internal static extern IntPtr sqlite3_commit_hook_interop(IntPtr db, SQLiteCommitCallback func);