Ran code maid against this code.

This commit is contained in:
Lars Brubaker 2015-04-08 15:20:10 -07:00
parent 1445945d9c
commit 591528ee91
309 changed files with 139399 additions and 140129 deletions

View file

@ -5,206 +5,336 @@
*************************************************************************
*/
using System;
using System.Text;
using HANDLE = System.IntPtr;
using i16 = System.Int16;
using sqlite3_int64 = System.Int64;
using u32 = System.UInt32;
namespace Community.CsharpSqlite
{
using DbPage = Sqlite3.PgHdr;
using sqlite3_pcache = Sqlite3.PCache1;
using sqlite3_stmt = Sqlite3.Vdbe;
using sqlite3_value = Sqlite3.Mem;
using DbPage = Sqlite3.PgHdr;
using sqlite3_pcache = Sqlite3.PCache1;
using sqlite3_stmt = Sqlite3.Vdbe;
using sqlite3_value = Sqlite3.Mem;
public partial class Sqlite3
{
public delegate void dxAuth( object pAuthArg, int b, string c, string d, string e, string f );
public delegate int dxBusy( object pBtShared, int iValue );
public delegate void dxFreeAux( object pAuxArg );
public delegate int dxCallback( object pCallbackArg, sqlite3_int64 argc, object p2, object p3 );
public delegate void dxalarmCallback( object pNotUsed, sqlite3_int64 iNotUsed, int size );
public delegate void dxCollNeeded( object pCollNeededArg, sqlite3 db, int eTextRep, string collationName );
public delegate int dxCommitCallback( object pCommitArg );
public delegate int dxCompare( object pCompareArg, int size1, string Key1, int size2, string Key2 );
public delegate bool dxCompare4( string Key1, int size1, string Key2, int size2 );
public delegate void dxDel( ref string pDelArg ); // needs ref
public delegate void dxDelCollSeq( ref object pDelArg ); // needs ref
public delegate void dxLog( object pLogArg, int i, string msg );
public delegate void dxLogcallback( object pCallbackArg, int argc, string p2 );
public delegate void dxProfile( object pProfileArg, string msg, sqlite3_int64 time );
public delegate int dxProgress( object pProgressArg );
public delegate void dxRollbackCallback( object pRollbackArg );
public delegate void dxTrace( object pTraceArg, string msg );
public delegate void dxUpdateCallback( object pUpdateArg, int b, string c, string d, sqlite3_int64 e );
public delegate int dxWalCallback( object pWalArg, sqlite3 db, string zDb, int nEntry );
public partial class Sqlite3
{
public delegate void dxAuth(object pAuthArg, int b, string c, string d, string e, string f);
/*
* FUNCTIONS
*
*/
public delegate void dxFunc( sqlite3_context ctx, int intValue, sqlite3_value[] value );
public delegate void dxStep( sqlite3_context ctx, int intValue, sqlite3_value[] value );
public delegate void dxFinal( sqlite3_context ctx );
public delegate void dxFDestroy( object pArg );
//
public delegate string dxColname( sqlite3_value pVal );
public delegate int dxFuncBtree( Btree p );
public delegate int dxExprTreeFunction( ref int pArg, Expr pExpr );
public delegate int dxExprTreeFunction_NC( NameContext pArg, ref Expr pExpr );
public delegate int dxExprTreeFunction_OBJ( object pArg, Expr pExpr );
/*
VFS Delegates
*/
public delegate int dxClose( sqlite3_file File_ID );
public delegate int dxCheckReservedLock( sqlite3_file File_ID, ref int pRes );
public delegate int dxDeviceCharacteristics( sqlite3_file File_ID );
public delegate int dxFileControl( sqlite3_file File_ID, int op, ref sqlite3_int64 pArgs );
public delegate int dxFileSize( sqlite3_file File_ID, ref long size );
public delegate int dxLock( sqlite3_file File_ID, int locktype );
public delegate int dxRead( sqlite3_file File_ID, byte[] buffer, int amount, sqlite3_int64 offset );
public delegate int dxSectorSize( sqlite3_file File_ID );
public delegate int dxSync( sqlite3_file File_ID, int flags );
public delegate int dxTruncate( sqlite3_file File_ID, sqlite3_int64 size );
public delegate int dxUnlock( sqlite3_file File_ID, int locktype );
public delegate int dxWrite( sqlite3_file File_ID, byte[] buffer, int amount, sqlite3_int64 offset );
public delegate int dxShmMap( sqlite3_file File_ID, int iPg, int pgsz, int pInt, out object pvolatile );
public delegate int dxShmLock( sqlite3_file File_ID, int offset, int n, int flags );
public delegate void dxShmBarrier( sqlite3_file File_ID );
public delegate int dxShmUnmap( sqlite3_file File_ID, int deleteFlag );
/*
sqlite_vfs Delegates
*/
public delegate int dxOpen( sqlite3_vfs vfs, string zName, sqlite3_file db, int flags, out int pOutFlags );
public delegate int dxDelete( sqlite3_vfs vfs, string zName, int syncDir );
public delegate int dxAccess( sqlite3_vfs vfs, string zName, int flags, out int pResOut );
public delegate int dxFullPathname( sqlite3_vfs vfs, string zName, int nOut, StringBuilder zOut );
public delegate HANDLE dxDlOpen( sqlite3_vfs vfs, string zFilename );
public delegate int dxDlError( sqlite3_vfs vfs, int nByte, string zErrMsg );
public delegate HANDLE dxDlSym( sqlite3_vfs vfs, HANDLE data, string zSymbol );
public delegate int dxDlClose( sqlite3_vfs vfs, HANDLE data );
public delegate int dxRandomness( sqlite3_vfs vfs, int nByte, byte[] buffer );
public delegate int dxSleep( sqlite3_vfs vfs, int microseconds );
public delegate int dxCurrentTime( sqlite3_vfs vfs, ref double currenttime );
public delegate int dxGetLastError( sqlite3_vfs pVfs, int nBuf, ref string zBuf );
public delegate int dxCurrentTimeInt64( sqlite3_vfs pVfs, ref sqlite3_int64 pTime );
public delegate int dxSetSystemCall( sqlite3_vfs pVfs, string zName, sqlite3_int64 sqlite3_syscall_ptr );
public delegate int dxGetSystemCall( sqlite3_vfs pVfs, string zName, sqlite3_int64 sqlite3_syscall_ptr );
public delegate int dxNextSystemCall( sqlite3_vfs pVfs, string zName, sqlite3_int64 sqlite3_syscall_ptr );
public delegate int dxBusy(object pBtShared, int iValue);
/*
* Pager Delegates
*/
public delegate void dxFreeAux(object pAuxArg);
public delegate void dxDestructor( DbPage dbPage ); /* Call this routine when freeing pages */
public delegate int dxBusyHandler( object pBusyHandlerArg );
public delegate void dxReiniter( DbPage dbPage ); /* Call this routine when reloading pages */
public delegate int dxCallback(object pCallbackArg, sqlite3_int64 argc, object p2, object p3);
public delegate void dxFreeSchema( Schema schema );
public delegate void dxalarmCallback(object pNotUsed, sqlite3_int64 iNotUsed, int size);
public delegate void dxCollNeeded(object pCollNeededArg, sqlite3 db, int eTextRep, string collationName);
public delegate int dxCommitCallback(object pCommitArg);
public delegate int dxCompare(object pCompareArg, int size1, string Key1, int size2, string Key2);
public delegate bool dxCompare4(string Key1, int size1, string Key2, int size2);
public delegate void dxDel(ref string pDelArg); // needs ref
public delegate void dxDelCollSeq(ref object pDelArg); // needs ref
public delegate void dxLog(object pLogArg, int i, string msg);
public delegate void dxLogcallback(object pCallbackArg, int argc, string p2);
public delegate void dxProfile(object pProfileArg, string msg, sqlite3_int64 time);
public delegate int dxProgress(object pProgressArg);
public delegate void dxRollbackCallback(object pRollbackArg);
public delegate void dxTrace(object pTraceArg, string msg);
public delegate void dxUpdateCallback(object pUpdateArg, int b, string c, string d, sqlite3_int64 e);
public delegate int dxWalCallback(object pWalArg, sqlite3 db, string zDb, int nEntry);
/*
* FUNCTIONS
*
*/
public delegate void dxFunc(sqlite3_context ctx, int intValue, sqlite3_value[] value);
public delegate void dxStep(sqlite3_context ctx, int intValue, sqlite3_value[] value);
public delegate void dxFinal(sqlite3_context ctx);
public delegate void dxFDestroy(object pArg);
//
public delegate string dxColname(sqlite3_value pVal);
public delegate int dxFuncBtree(Btree p);
public delegate int dxExprTreeFunction(ref int pArg, Expr pExpr);
public delegate int dxExprTreeFunction_NC(NameContext pArg, ref Expr pExpr);
public delegate int dxExprTreeFunction_OBJ(object pArg, Expr pExpr);
/*
VFS Delegates
*/
public delegate int dxClose(sqlite3_file File_ID);
public delegate int dxCheckReservedLock(sqlite3_file File_ID, ref int pRes);
public delegate int dxDeviceCharacteristics(sqlite3_file File_ID);
public delegate int dxFileControl(sqlite3_file File_ID, int op, ref sqlite3_int64 pArgs);
public delegate int dxFileSize(sqlite3_file File_ID, ref long size);
public delegate int dxLock(sqlite3_file File_ID, int locktype);
public delegate int dxRead(sqlite3_file File_ID, byte[] buffer, int amount, sqlite3_int64 offset);
public delegate int dxSectorSize(sqlite3_file File_ID);
public delegate int dxSync(sqlite3_file File_ID, int flags);
public delegate int dxTruncate(sqlite3_file File_ID, sqlite3_int64 size);
public delegate int dxUnlock(sqlite3_file File_ID, int locktype);
public delegate int dxWrite(sqlite3_file File_ID, byte[] buffer, int amount, sqlite3_int64 offset);
public delegate int dxShmMap(sqlite3_file File_ID, int iPg, int pgsz, int pInt, out object pvolatile);
public delegate int dxShmLock(sqlite3_file File_ID, int offset, int n, int flags);
public delegate void dxShmBarrier(sqlite3_file File_ID);
public delegate int dxShmUnmap(sqlite3_file File_ID, int deleteFlag);
/*
sqlite_vfs Delegates
*/
public delegate int dxOpen(sqlite3_vfs vfs, string zName, sqlite3_file db, int flags, out int pOutFlags);
public delegate int dxDelete(sqlite3_vfs vfs, string zName, int syncDir);
public delegate int dxAccess(sqlite3_vfs vfs, string zName, int flags, out int pResOut);
public delegate int dxFullPathname(sqlite3_vfs vfs, string zName, int nOut, StringBuilder zOut);
public delegate HANDLE dxDlOpen(sqlite3_vfs vfs, string zFilename);
public delegate int dxDlError(sqlite3_vfs vfs, int nByte, string zErrMsg);
public delegate HANDLE dxDlSym(sqlite3_vfs vfs, HANDLE data, string zSymbol);
public delegate int dxDlClose(sqlite3_vfs vfs, HANDLE data);
public delegate int dxRandomness(sqlite3_vfs vfs, int nByte, byte[] buffer);
public delegate int dxSleep(sqlite3_vfs vfs, int microseconds);
public delegate int dxCurrentTime(sqlite3_vfs vfs, ref double currenttime);
public delegate int dxGetLastError(sqlite3_vfs pVfs, int nBuf, ref string zBuf);
public delegate int dxCurrentTimeInt64(sqlite3_vfs pVfs, ref sqlite3_int64 pTime);
public delegate int dxSetSystemCall(sqlite3_vfs pVfs, string zName, sqlite3_int64 sqlite3_syscall_ptr);
public delegate int dxGetSystemCall(sqlite3_vfs pVfs, string zName, sqlite3_int64 sqlite3_syscall_ptr);
public delegate int dxNextSystemCall(sqlite3_vfs pVfs, string zName, sqlite3_int64 sqlite3_syscall_ptr);
/*
* Pager Delegates
*/
public delegate void dxDestructor(DbPage dbPage); /* Call this routine when freeing pages */
public delegate int dxBusyHandler(object pBusyHandlerArg);
public delegate void dxReiniter(DbPage dbPage); /* Call this routine when reloading pages */
public delegate void dxFreeSchema(Schema schema);
#if SQLITE_HAS_CODEC
public delegate byte[] dxCodec( codec_ctx pCodec, byte[] D, uint pageNumber, int X ); //void *(*xCodec)(void*,void*,Pgno,int); /* Routine for en/decoding data */
public delegate void dxCodecSizeChng( codec_ctx pCodec, int pageSize, i16 nReserve ); //void (*xCodecSizeChng)(void*,int,int); /* Notify of page size changes */
public delegate void dxCodecFree( ref codec_ctx pCodec ); //void (*xCodecFree)(void); /* Destructor for the codec */
public delegate byte[] dxCodec(codec_ctx pCodec, byte[] D, uint pageNumber, int X); //void *(*xCodec)(void*,void*,Pgno,int); /* Routine for en/decoding data */
public delegate void dxCodecSizeChng(codec_ctx pCodec, int pageSize, i16 nReserve); //void (*xCodecSizeChng)(void*,int,int); /* Notify of page size changes */
public delegate void dxCodecFree(ref codec_ctx pCodec); //void (*xCodecFree)(void); /* Destructor for the codec */
#endif
//Module
public delegate void dxDestroy( ref PgHdr pDestroyArg );
public delegate int dxStress( object obj, PgHdr pPhHdr );
//Module
public delegate void dxDestroy(ref PgHdr pDestroyArg);
//sqlite3_module
public delegate int smdxCreateConnect( sqlite3 db, object pAux, int argc, string[] constargv, out sqlite3_vtab ppVTab, out string pError );
public delegate int smdxBestIndex( sqlite3_vtab pVTab, ref sqlite3_index_info pIndex );
public delegate int smdxDisconnect( ref object pVTab );
public delegate int smdxDestroy(ref object pVTab );
public delegate int smdxOpen( sqlite3_vtab pVTab, out sqlite3_vtab_cursor ppCursor );
public delegate int smdxClose( ref sqlite3_vtab_cursor pCursor );
public delegate int smdxFilter( sqlite3_vtab_cursor pCursor, int idxNum, string idxStr, int argc, sqlite3_value[] argv );
public delegate int smdxNext( sqlite3_vtab_cursor pCursor );
public delegate int smdxEof( sqlite3_vtab_cursor pCursor );
public delegate int smdxColumn( sqlite3_vtab_cursor pCursor, sqlite3_context p2, int p3 );
public delegate int smdxRowid( sqlite3_vtab_cursor pCursor, out sqlite3_int64 pRowid );
public delegate int smdxUpdate( sqlite3_vtab pVTab, int p1, sqlite3_value[] p2, out sqlite3_int64 p3 );
public delegate int smdxFunction ( sqlite3_vtab pVTab );
public delegate int smdxFindFunction( sqlite3_vtab pVtab, int nArg, string zName, ref dxFunc pxFunc, ref object ppArg );
public delegate int smdxRename( sqlite3_vtab pVtab, string zNew );
public delegate int smdxFunctionArg (sqlite3_vtab pVTab, int nArg );
public delegate int dxStress(object obj, PgHdr pPhHdr);
//sqlite3_module
public delegate int smdxCreateConnect(sqlite3 db, object pAux, int argc, string[] constargv, out sqlite3_vtab ppVTab, out string pError);
public delegate int smdxBestIndex(sqlite3_vtab pVTab, ref sqlite3_index_info pIndex);
public delegate int smdxDisconnect(ref object pVTab);
public delegate int smdxDestroy(ref object pVTab);
public delegate int smdxOpen(sqlite3_vtab pVTab, out sqlite3_vtab_cursor ppCursor);
public delegate int smdxClose(ref sqlite3_vtab_cursor pCursor);
public delegate int smdxFilter(sqlite3_vtab_cursor pCursor, int idxNum, string idxStr, int argc, sqlite3_value[] argv);
public delegate int smdxNext(sqlite3_vtab_cursor pCursor);
public delegate int smdxEof(sqlite3_vtab_cursor pCursor);
public delegate int smdxColumn(sqlite3_vtab_cursor pCursor, sqlite3_context p2, int p3);
public delegate int smdxRowid(sqlite3_vtab_cursor pCursor, out sqlite3_int64 pRowid);
public delegate int smdxUpdate(sqlite3_vtab pVTab, int p1, sqlite3_value[] p2, out sqlite3_int64 p3);
public delegate int smdxFunction(sqlite3_vtab pVTab);
public delegate int smdxFindFunction(sqlite3_vtab pVtab, int nArg, string zName, ref dxFunc pxFunc, ref object ppArg);
public delegate int smdxRename(sqlite3_vtab pVtab, string zNew);
public delegate int smdxFunctionArg(sqlite3_vtab pVTab, int nArg);
//AutoExtention
public delegate int dxInit(sqlite3 db, ref string zMessage, sqlite3_api_routines sar);
//AutoExtention
public delegate int dxInit( sqlite3 db, ref string zMessage, sqlite3_api_routines sar );
#if !SQLITE_OMIT_VIRTUALTABLE
public delegate int dmxCreate(sqlite3 db, object pAux, int argc, string p4, object argv, sqlite3_vtab ppVTab, char p7);
public delegate int dmxConnect(sqlite3 db, object pAux, int argc, string p4, object argv, sqlite3_vtab ppVTab, char p7);
public delegate int dmxBestIndex(sqlite3_vtab pVTab, ref sqlite3_index_info pIndexInfo);
public delegate int dmxDisconnect(sqlite3_vtab pVTab);
public delegate int dmxDestroy(sqlite3_vtab pVTab);
public delegate int dmxOpen(sqlite3_vtab pVTab, sqlite3_vtab_cursor ppCursor);
public delegate int dmxClose(sqlite3_vtab_cursor pCursor);
public delegate int dmxFilter(sqlite3_vtab_cursor pCursor, int idmxNum, string idmxStr, int argc, sqlite3_value argv);
public delegate int dmxNext(sqlite3_vtab_cursor pCursor);
public delegate int dmxEof(sqlite3_vtab_cursor pCursor);
public delegate int dmxColumn(sqlite3_vtab_cursor pCursor, sqlite3_context ctx, int i3);
public delegate int dmxRowid(sqlite3_vtab_cursor pCursor, sqlite3_int64 pRowid);
public delegate int dmxUpdate(sqlite3_vtab pVTab, int i2, sqlite3_value sv3, sqlite3_int64 v4);
public delegate int dmxBegin(sqlite3_vtab pVTab);
public delegate int dmxSync(sqlite3_vtab pVTab);
public delegate int dmxCommit(sqlite3_vtab pVTab);
public delegate int dmxRollback(sqlite3_vtab pVTab);
public delegate int dmxFindFunction(sqlite3_vtab pVtab, int nArg, string zName);
public delegate int dmxRename(sqlite3_vtab pVtab, string zNew);
public delegate int dmxCreate(sqlite3 db, object pAux, int argc, string p4, object argv, sqlite3_vtab ppVTab, char p7);
public delegate int dmxConnect(sqlite3 db, object pAux, int argc, string p4, object argv, sqlite3_vtab ppVTab, char p7);
public delegate int dmxBestIndex(sqlite3_vtab pVTab, ref sqlite3_index_info pIndexInfo);
public delegate int dmxDisconnect(sqlite3_vtab pVTab);
public delegate int dmxDestroy(sqlite3_vtab pVTab);
public delegate int dmxOpen(sqlite3_vtab pVTab, sqlite3_vtab_cursor ppCursor);
public delegate int dmxClose(sqlite3_vtab_cursor pCursor);
public delegate int dmxFilter(sqlite3_vtab_cursor pCursor, int idmxNum, string idmxStr, int argc, sqlite3_value argv);
public delegate int dmxNext(sqlite3_vtab_cursor pCursor);
public delegate int dmxEof(sqlite3_vtab_cursor pCursor);
public delegate int dmxColumn(sqlite3_vtab_cursor pCursor, sqlite3_context ctx, int i3);
public delegate int dmxRowid(sqlite3_vtab_cursor pCursor, sqlite3_int64 pRowid);
public delegate int dmxUpdate(sqlite3_vtab pVTab, int i2, sqlite3_value sv3, sqlite3_int64 v4);
public delegate int dmxBegin(sqlite3_vtab pVTab);
public delegate int dmxSync(sqlite3_vtab pVTab);
public delegate int dmxCommit(sqlite3_vtab pVTab);
public delegate int dmxRollback(sqlite3_vtab pVTab);
public delegate int dmxFindFunction(sqlite3_vtab pVtab, int nArg, string zName);
public delegate int dmxRename(sqlite3_vtab pVtab, string zNew);
#endif
//Faults
public delegate void void_function();
//Mem Methods
public delegate int dxMemInit( object o );
public delegate void dxMemShutdown( object o );
public delegate byte[] dxMalloc( int nSize );
public delegate int[] dxMallocInt( int nSize );
public delegate Mem dxMallocMem( Mem pMem );
public delegate void dxFree( ref byte[] pOld );
public delegate void dxFreeInt( ref int[] pOld );
public delegate void dxFreeMem( ref Mem pOld );
public delegate byte[] dxRealloc( byte[] pOld, int nSize );
public delegate int dxSize( byte[] pArray );
public delegate int dxRoundup( int nSize );
//Faults
public delegate void void_function();
//Mutex Methods
public delegate int dxMutexInit();
public delegate int dxMutexEnd();
public delegate sqlite3_mutex dxMutexAlloc( int iNumber );
public delegate void dxMutexFree( sqlite3_mutex sm );
public delegate void dxMutexEnter( sqlite3_mutex sm );
public delegate int dxMutexTry( sqlite3_mutex sm );
public delegate void dxMutexLeave( sqlite3_mutex sm );
public delegate bool dxMutexHeld( sqlite3_mutex sm );
public delegate bool dxMutexNotheld( sqlite3_mutex sm );
//Mem Methods
public delegate int dxMemInit(object o);
public delegate object dxColumn( sqlite3_stmt pStmt, int i );
public delegate int dxColumn_I( sqlite3_stmt pStmt, int i );
public delegate void dxMemShutdown(object o);
// Walker Methods
public delegate int dxExprCallback( Walker W, ref Expr E ); /* Callback for expressions */
public delegate int dxSelectCallback( Walker W, Select S ); /* Callback for SELECTs */
public delegate byte[] dxMalloc(int nSize);
public delegate int[] dxMallocInt(int nSize);
// pcache Methods
public delegate int dxPC_Init( object NotUsed );
public delegate void dxPC_Shutdown( object NotUsed );
public delegate sqlite3_pcache dxPC_Create( int szPage, bool bPurgeable );
public delegate void dxPC_Cachesize( sqlite3_pcache pCache, int nCachesize );
public delegate int dxPC_Pagecount( sqlite3_pcache pCache );
public delegate PgHdr dxPC_Fetch( sqlite3_pcache pCache, u32 key, int createFlag );
public delegate void dxPC_Unpin( sqlite3_pcache pCache, PgHdr p2, bool discard );
public delegate void dxPC_Rekey( sqlite3_pcache pCache, PgHdr p2, u32 oldKey, u32 newKey );
public delegate void dxPC_Truncate( sqlite3_pcache pCache, u32 iLimit );
public delegate void dxPC_Destroy( ref sqlite3_pcache pCache );
public delegate Mem dxMallocMem(Mem pMem);
public delegate void dxIter( PgHdr p );
public delegate void dxFree(ref byte[] pOld);
public delegate void dxFreeInt(ref int[] pOld);
public delegate void dxFreeMem(ref Mem pOld);
public delegate byte[] dxRealloc(byte[] pOld, int nSize);
public delegate int dxSize(byte[] pArray);
public delegate int dxRoundup(int nSize);
//Mutex Methods
public delegate int dxMutexInit();
public delegate int dxMutexEnd();
public delegate sqlite3_mutex dxMutexAlloc(int iNumber);
public delegate void dxMutexFree(sqlite3_mutex sm);
public delegate void dxMutexEnter(sqlite3_mutex sm);
public delegate int dxMutexTry(sqlite3_mutex sm);
public delegate void dxMutexLeave(sqlite3_mutex sm);
public delegate bool dxMutexHeld(sqlite3_mutex sm);
public delegate bool dxMutexNotheld(sqlite3_mutex sm);
public delegate object dxColumn(sqlite3_stmt pStmt, int i);
public delegate int dxColumn_I(sqlite3_stmt pStmt, int i);
// Walker Methods
public delegate int dxExprCallback(Walker W, ref Expr E); /* Callback for expressions */
public delegate int dxSelectCallback(Walker W, Select S); /* Callback for SELECTs */
// pcache Methods
public delegate int dxPC_Init(object NotUsed);
public delegate void dxPC_Shutdown(object NotUsed);
public delegate sqlite3_pcache dxPC_Create(int szPage, bool bPurgeable);
public delegate void dxPC_Cachesize(sqlite3_pcache pCache, int nCachesize);
public delegate int dxPC_Pagecount(sqlite3_pcache pCache);
public delegate PgHdr dxPC_Fetch(sqlite3_pcache pCache, u32 key, int createFlag);
public delegate void dxPC_Unpin(sqlite3_pcache pCache, PgHdr p2, bool discard);
public delegate void dxPC_Rekey(sqlite3_pcache pCache, PgHdr p2, u32 oldKey, u32 newKey);
public delegate void dxPC_Truncate(sqlite3_pcache pCache, u32 iLimit);
public delegate void dxPC_Destroy(ref sqlite3_pcache pCache);
public delegate void dxIter(PgHdr p);
#if NET_35 || NET_40
//API Simplifications -- Actions
@ -285,9 +415,9 @@ namespace Community.CsharpSqlite
public static Func<sqlite3_value, String> ValueText = sqlite3_value_text;
public static Func<sqlite3_value, Int32> ValueType = sqlite3_value_type;
#endif
}
}
}
#if( NET_35 && !NET_40) || WINDOWS_PHONE
namespace System
{