76 void *(*malloc)(
unsigned int size);
82typedef void *(*xf_malloc_t)(
unsigned int size);
unsigned int xf_heap_get_min_ever_free_size(void)
获取曾经最小的空闲内存块。
unsigned int xf_heap_get_free_size(void)
获取内存总空闲大小。
unsigned int(* init)(const xf_heap_region_t *const regions)
unsigned int(* get_block_size)(void *pv)
xf_heap_get_min_ever_free_size_t get_min_ever_free_size
xf_heap_get_free_size_t get_free_size
unsigned int size_in_bytes
unsigned char * stat_address
unsigned int(* xf_heap_get_free_size_t)(void)
void *(* xf_malloc_t)(unsigned int size)
int xf_heap_uninit(void)
内存反初始化。
struct _xf_heap_api_t xf_heap_api_t
int xf_heap_api_redirect(const xf_heap_api_t *api)
重新定义内存管理接口
void(* xf_free_t)(void *pv)
unsigned int(* xf_heap_get_min_ever_free_size_t)(void)
struct _xf_heap_region_t xf_heap_region_t
堆内存块结构体。
int xf_heap_init(const xf_heap_region_t *const regions)
内存初始化。
struct _xf_alloc_func_t xf_alloc_func_t
内存分配操作集。