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
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 */
signed long xwer_t
Definition type.h:554
unsigned long xwsz_t
Definition type.h:339
interface:分配器
Definition i_allocator.h:27
xwer_t(* free)(void *, void *)
Definition i_allocator.h:31
xwer_t(* malloc)(void *, xwsz_t, void **)
Definition i_allocator.h:29
XWOS内存管理:通用定义
XWOS的标准头文件