22 ms·
> dynamic allocation after application has started is banned -- any heap buffers and data structures must be allocated at the start of the application and after
by signa11 6y ago
> dynamic allocation after application has started is banned -- any heap buffers and data structures must be allocated at the start of the application and after that any allocation is a compile time error,
how do ensure that?
- 4gotunameagain 6y agoOne way I can think of is to include the banned.h after you have performed all init processes (It would have to be in the .c files, not the headers, might not be so clean)