r5sdk/r5dev/public/tier1/mempool.h
Kawe Mazidjatari 9f428f1567 Move tier0 lib headers to public
This commit does not change any logic or behavior of the code.
2023-04-06 23:50:48 +02:00

35 lines
706 B
C++

//===== Copyright (c) 1996-2005, Valve Corporation, All rights reserved. ======//
//
// Purpose:
//
// $Workfile: $
// $Date: $
//
//------------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//=============================================================================//
#ifndef MEMPOOL_H
#define MEMPOOL_H
struct CUtlMemoryPool
{
class CBlob
{
public:
short m_nAlignment; // to int align the struct.
short m_NumBlobs; // Number of blobs.
const char* m_pszAllocOwner;
CBlob* m_pPrev, * m_pNext;
};
int m_BlockSize;
int m_BlocksPerBlob;
int m_GrowMode;
int m_BlocksAllocated;
CBlob m_BlobHead;
};
#endif // MEMPOOL_H