XWOS API
4.0
XWOS C/C++ API参考手册
|
XWOS内存管理:简单内存分配器 更多...
结构体 | |
struct | xwmm_sma |
简单内存分配器 更多... | |
函数 | |
xwer_t | xwmm_sma_init (struct xwmm_sma *sa, xwptr_t origin, xwsz_t size, xwsq_t pos, const char *name) |
XWMM API:初始化简单内存分配器对象 | |
xwer_t | xwmm_sma_alloc (struct xwmm_sma *sa, xwsz_t size, xwsz_t aligned, void **membuf) |
XWMM API:从简单内存分配器中申请内存 | |
xwer_t | xwmm_sma_free (struct xwmm_sma *sa, void *mem) |
XWMM API:释放内存 | |
XWOS内存管理:简单内存分配器
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
在文件 sma.h 中定义.