Usermode/ld-acess - (minor) assert.h in elf.c
[tpg/acess2.git] / AcessNative / libacess-native.so_src / heap.c
1 /*
2  * AcessNative libacess-native
3  * - By John Hodge (thePowersGang)
4  *
5  * heap.c
6  * - Proxies for the C standard heap
7  */
8 #include <stdlib.h>
9
10 void *acess_malloc(size_t bytes)
11 {
12         return malloc(bytes);
13 }
14
15 void acess_free(void *ptr)
16 {
17         free(ptr);
18 }
19
20 void *acess_calloc(size_t __nmemb, size_t __size)
21 {
22         return calloc(__nmemb, __size);
23 }
24
25 void *acess_realloc(void *__ptr, size_t __size)
26 {
27         return realloc(__ptr, __size);
28 }
29

UCC git Repository :: git.ucc.asn.au