Wrap libc memory functions in Allocator interface

This commit is contained in:
Abdelrahman Said
2024-03-24 19:25:07 +00:00
parent 9ec123c41b
commit 5b8e9f8be6
2 changed files with 61 additions and 0 deletions

View 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