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); }
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(); }