Wrap libc memory functions in Allocator interface
This commit is contained in:
15
mem/include/libc/mem_libc.h
Normal file
15
mem/include/libc/mem_libc.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef MEM_LIBC_H
|
||||
#define MEM_LIBC_H
|
||||
|
||||
#include "mem_allocator.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif // __cplusplus
|
||||
|
||||
Allocator wapp_mem_libc_allocator(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif // __cplusplus
|
||||
|
||||
#endif // !MEM_LIBC_H
|
||||
Reference in New Issue
Block a user