Foxit PDF SDK
FXMEM_SystemMgr结构体 参考

系统级内存管理器。应用程序可以实现自己的系统内存管理器。 更多...

Public 属性

void *(* Alloc )(struct _FXMEM_SystemMgr *pMgr, size_t size, int flags)
 指向分配函数的指针类型。 更多...
 
void *(* AllocDebug )(struct _FXMEM_SystemMgr *pMgr, size_t size, int flags, FX_LPCSTR file, int line)
 指向调试模式分配函数的指针类型。 更多...
 
void(* CollectAll )(struct _FXMEM_SystemMgr *pMgr)
 指向内存收集函数的指针类型。 更多...
 
void(* Free )(struct _FXMEM_SystemMgr *pMgr, void *pointer, int flags)
 指向释放函数的指针类型。 更多...
 
void *(* Lock )(struct _FXMEM_SystemMgr *pMgr, void *handle)
 指向锁定函数的指针类型。 更多...
 
void(* Purge )(struct _FXMEM_SystemMgr *pMgr)
 指向清理函数的指针类型,可用于清理多余的内存而不触及任何使用中的内存。 更多...
 
void *(* Realloc )(struct _FXMEM_SystemMgr *pMgr, void *pointer, size_t size, int flags)
 指向重分配函数的指针类型。 更多...
 
void *(* ReallocDebug )(struct _FXMEM_SystemMgr *pMgr, void *pointer, size_t size, int flags, FX_LPCSTR file, int line)
 指向调试模式重分配函数的指针类型。 更多...
 
void(* Unlock )(struct _FXMEM_SystemMgr *pMgr, void *handle)
 指向解锁函数的指针类型。 更多...
 
void * user
 用于用户数据的通用无类型指针。
 

详细描述

系统级内存管理器。应用程序可以实现自己的系统内存管理器。