WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
upg_alloc.h
浏览该文件的文档.
1/*
2 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2021-2021. All rights reserved.
3 * Description: UPG alloc memory functions header file
4 */
5
6#ifndef UPG_ALLOC_H
7#define UPG_ALLOC_H
8
9#include <stdint.h>
10
11#ifdef __cplusplus
12#if __cplusplus
13extern "C" {
14#endif
15#endif
16
17/*
18 * 内存申请接口
19 * size:申请内存的大小
20 */
21void *upg_malloc(uint32_t size);
22
23/*
24 * 内存释放接口
25 * addr:待释放的内存地址
26 */
27void upg_free(void *addr);
28
29#ifdef __cplusplus
30#if __cplusplus
31}
32#endif
33#endif
34
35#endif /* UPG_ALLOC_H */
void * upg_malloc(uint32_t size)
Definition upg_alloc.c:24
void upg_free(void *addr)
Definition upg_alloc.c:32