lexLeo
Loading...
Searching...
No Matches
osal_mem_ops.h
1// src/osal/include/osal_mem_ops.h
2
3#ifndef LEXLEO_OSAL_MEM_OPS_H
4#define LEXLEO_OSAL_MEM_OPS_H
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10#include "osal_mem_types.h"
11
12typedef struct osal_mem_ops_t {
13 osal_malloc_fn_t malloc;
14 osal_free_fn_t free;
15 osal_calloc_fn_t calloc;
16 osal_realloc_fn_t realloc;
17 osal_strdup_fn_t strdup;
18 osal_memcpy_fn_t memcpy;
19 osal_memset_fn_t memset;
21
22const osal_mem_ops_t *osal_mem_default_ops(void);
23
24#ifdef __cplusplus
25}
26#endif
27
28#endif //LEXLEO_OSAL_MEM_OPS_H
Definition osal_mem_ops.h:12