mem_api.h
Overview
Related Modules:
Description:
Defines the functions for memory application and release. You can implement the malloc and free functions to manage the memory.
Since:
1.0
Version:
1.0
Summary
Functions
OHOS::ImageCacheMalloc (ImageInfo &info) |
Applies for the image cache memory. You can customize the memory area when loading image resources. |
OHOS::ImageCacheFree (ImageInfo &info) |
|
OHOS::UIMalloc (uint32_t size) |
Applies for memory for the graphics module. You can implement this function to override the malloc and new functions. |
OHOS::UIFree (void *buffer) |
Releases memory for the graphics module. You can implement this function to override the free and delete functions. |