31#define IVY_PAGE_SIZE 12
32#define IVY_PAGE_MASK 4095
51 p->vChunks = Vec_PtrAlloc( 128 );
52 p->vPages = Vec_PtrAlloc( 128 );
72 Vec_PtrFree(
p->vChunks );
73 Vec_PtrFree(
p->vPages );
93 int EntrySizeMax = 128;
100 Vec_PtrPush(
p->vChunks, pMemory );
102 pMemory = pMemory + EntrySizeMax - (((int)(ABC_PTRUINT_T)pMemory) & (EntrySizeMax-1));
104 Vec_PtrPush(
p->vPages, pMemory );
109 *((
char **)pMemory) = pMemory +
sizeof(
Ivy_Obj_t);
112 *((
char **)pMemory) = NULL;
#define ABC_ALLOC(type, num)
#define ABC_NAMESPACE_IMPL_START
#define ABC_NAMESPACE_IMPL_END
#define IVY_PAGE_SIZE
DECLARATIONS ///.
void Ivy_ManStopMemory(Ivy_Man_t *p)
void Ivy_ManAddMemory(Ivy_Man_t *p)
void Ivy_ManStartMemory(Ivy_Man_t *p)
FUNCTION DEFINITIONS ///.
typedefABC_NAMESPACE_HEADER_START struct Ivy_Man_t_ Ivy_Man_t
INCLUDES ///.
struct Ivy_Obj_t_ Ivy_Obj_t
#define Vec_PtrForEachEntry(Type, vVec, pEntry, i)
MACRO DEFINITIONS ///.