MPHELL
4.0.0
|
Declaration of internal MPHELL temporary memory functions. More...
Go to the source code of this file.
Functions | |
void | alloc_tmp_memory () |
Allocate the stack for temporary elements, its size is defined in mphell-define.h. | |
void | free_tmp_memory () |
Free the stack for temporary elements. | |
uint32_t | get_stack_size (uint8_t stack) |
Get the current size of stack nb stack. More... | |
bool | verify_stack_size (uint32_t prev_size, uint8_t stack) |
Compare the current size and the previous size of stack nb stack. More... | |
Declaration of internal MPHELL temporary memory functions.
Definition in file mphell-tmp.h.
uint32_t get_stack_size | ( | uint8_t | stack | ) |
Get the current size of stack nb stack.
stack | Temporary memory stack to use |
Definition at line 320 of file mphell-tmp.c.
bool verify_stack_size | ( | uint32_t | prev_size, |
uint8_t | stack | ||
) |
Compare the current size and the previous size of stack nb stack.
prev_size | Previous size of the stack to compare with |
stack | Temporary memory stack to use |
Definition at line 338 of file mphell-tmp.c.