31 #ifndef MPOOL_INCLUDED
32 #define MPOOL_INCLUDED
39 #include "../base/ver.h"
43 #include "../base/str.h"
46 #ifndef CHECK_INCLUDED
47 #include "../base/check.h"
63 static const long MPOOL_MAGIC = 0x4D504F0AL;
69 static const int MPOOL_PAGEARRAY_SIZE = 10;
149 int num_alloc_pages()
const
152 return NumAllocPages;
198 static int TotalPages;
217 page_t PageDirArr[MPOOL_PAGEARRAY_SIZE];
220 page_t *FirstDirPage;
247 #define MPOOL_NULL (static_cast<mpool_t>(0))
#define CHECK_VALID(EX)
Definition: check.h:85
const char * str_t
Definition: str.h:41
#define STR_NULL
Definition: str.h:52