Foxit PDF SDK
FXMEM_SystemMgr Struct Reference

System level memory manager. Application can implement their own system memory manager. More...

Public Attributes

void *(* Alloc )(struct _FXMEM_SystemMgr *pMgr, size_t size, int flags)
 A pointer type to an allocation function. More...
 
void *(* AllocDebug )(struct _FXMEM_SystemMgr *pMgr, size_t size, int flags, FX_LPCSTR file, int line)
 A pointer type to a debug-mode allocation function. More...
 
void(* CollectAll )(struct _FXMEM_SystemMgr *pMgr)
 A pointer type to a memory-collection function. More...
 
void(* Free )(struct _FXMEM_SystemMgr *pMgr, void *pointer, int flags)
 A pointer type to a free function. More...
 
void *(* Lock )(struct _FXMEM_SystemMgr *pMgr, void *handle)
 A pointer type to a lock function. More...
 
void(* Purge )(struct _FXMEM_SystemMgr *pMgr)
 A pointer type to a purge function, which can be used to purge excessive memory without touching any used memory. More...
 
void *(* Realloc )(struct _FXMEM_SystemMgr *pMgr, void *pointer, size_t size, int flags)
 A pointer type to a reallocation function. More...
 
void *(* ReallocDebug )(struct _FXMEM_SystemMgr *pMgr, void *pointer, size_t size, int flags, FX_LPCSTR file, int line)
 A pointer type to a debug-mode reallocation function. More...
 
void(* Unlock )(struct _FXMEM_SystemMgr *pMgr, void *handle)
 A pointer type to a unlock function. More...
 
void * user
 A generic typeless pointer for user data.
 

Detailed Description

System level memory manager. Application can implement their own system memory manager.