XWOS API
4.0
XWOS C/C++ API参考手册
载入中...
搜索中...
未找到
i_allocator.h
浏览该文件的文档.
1
13
#ifndef __xwos_mm_mempool_i_allocator_h__
14
#define __xwos_mm_mempool_i_allocator_h__
15
16
#include <
xwos/standard.h
>
17
#include <
xwos/mm/common.h
>
18
27
interface
xwmm_mempool_i_allocator
{
28
// cppcheck-suppress [misra-c2012-5.8]
29
xwer_t
(*
malloc
)(
void
*,
xwsz_t
,
void
**);
30
// cppcheck-suppress [misra-c2012-5.8]
31
xwer_t
(*
free
)(
void
*,
void
*);
32
};
33
38
#endif
/* xwos/mm/mempool/i_allocator.h */
xwer_t
signed long xwer_t
Definition
type.h:554
xwsz_t
unsigned long xwsz_t
Definition
type.h:339
xwmm_mempool_i_allocator
interface:分配器
Definition
i_allocator.h:27
xwmm_mempool_i_allocator::free
xwer_t(* free)(void *, void *)
Definition
i_allocator.h:31
xwmm_mempool_i_allocator::malloc
xwer_t(* malloc)(void *, xwsz_t, void **)
Definition
i_allocator.h:29
common.h
XWOS内存管理:通用定义
standard.h
XWOS的标准头文件
xwos
mm
mempool
i_allocator.h
制作者
1.9.7