Embedded Artistry libmemory
Memory library for embedded systems (malloc and friends)
malloc.h
Go to the documentation of this file.
1 /*
2 * Copyright © 2017 Embedded Artistry LLC.
3 * License: MIT. See LICENSE file for details.
4 */
5 
6 #ifndef MALLOC_H_
7 #define MALLOC_H_
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif //__cplusplus
12 
13 #include <stdlib.h>
14 
29 void malloc_addblock(void* addr, size_t size);
30 
37 void malloc_init(void);
38 
39 #ifdef __cplusplus
40 }
41 #endif //__cplusplus
42 
43 #endif //MALLOC_H_
void malloc_addblock(void *addr, size_t size)
Assign blocks of memory for use by malloc().
void malloc_init(void)
Initialize Malloc.