1 Star 0 Fork 4.9K

famoustang / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
mem_api-h.md 3.97 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

mem_api.h

Overview

Related Modules:

Graphic

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

Function Name

Description

OHOS::ImageCacheMalloc (ImageInfo &info)

void * 

Applies for the image cache memory. You can customize the memory area when loading image resources.

OHOS::ImageCacheFree (ImageInfo &info)

void 

Releases the image cache memory.

OHOS::UIMalloc (uint32_t size)

void * 

Applies for memory for the graphics module. You can implement this function to override the malloc and new functions.

OHOS::UIFree (void *buffer)

void 

Releases memory for the graphics module. You can implement this function to override the free and delete functions.

1
https://gitee.com/famoustang/docs.git
git@gitee.com:famoustang/docs.git
famoustang
docs
docs
master

搜索帮助