Mirror with some correction
Dependencies: mbed FastIO FastPWM USBDevice
NewMalloc/NewMalloc.h@116:7a67265d7c19, 2021-10-01 (annotated)
- Committer:
- arnoz
- Date:
- Fri Oct 01 08:19:46 2021 +0000
- Revision:
- 116:7a67265d7c19
- Parent:
- 79:682ae3171a08
- Correct information regarding your last merge
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mjr | 79:682ae3171a08 | 1 | #ifndef _NEWMALLOC_H_ |
mjr | 79:682ae3171a08 | 2 | #define _NEWMALLOC_H_ |
mjr | 79:682ae3171a08 | 3 | |
mjr | 79:682ae3171a08 | 4 | #include "mbed.h" |
mjr | 79:682ae3171a08 | 5 | |
mjr | 79:682ae3171a08 | 6 | // our custom memory allocator |
mjr | 79:682ae3171a08 | 7 | void *xmalloc(size_t); |
mjr | 79:682ae3171a08 | 8 | |
mjr | 79:682ae3171a08 | 9 | // Number of free bytes remaning |
mjr | 79:682ae3171a08 | 10 | size_t mallocBytesFree(); |
mjr | 79:682ae3171a08 | 11 | |
mjr | 79:682ae3171a08 | 12 | #endif |