private unsafe BufferSuite()
 {
     allocProc  = new AllocateBufferProc(AllocateBufferProc);
     freeProc   = new FreeBufferProc(BufferFreeProc);
     lockProc   = new LockBufferProc(BufferLockProc);
     unlockProc = new UnlockBufferProc(BufferUnlockProc);
     spaceProc  = new BufferSpaceProc(BufferSpaceProc);
     bufferIDs  = new Dictionary <IntPtr, int>(IntPtrEqualityComparer.Instance);
 }
Exemple #2
0
 private BufferSuite()
 {
     allocProc  = new AllocateBufferProc(AllocateBufferProc);
     freeProc   = new FreeBufferProc(BufferFreeProc);
     lockProc   = new LockBufferProc(BufferLockProc);
     unlockProc = new UnlockBufferProc(BufferUnlockProc);
     spaceProc  = new BufferSpaceProc(BufferSpaceProc);
     bufferIDs  = new BufferIDCollection();
 }