MOS Source Code
Loading...
Searching...
No Matches
stack.c File Reference
#include <mos/lib/structures/stack.h>
#include <mos/moslib_global.h>
#include <mos_stdio.h>
#include <mos_string.h>
+ Include dependency graph for stack.c:

Go to the source code of this file.

Functions

void stack_init (downwards_stack_t *stack, void *mem_region_bottom, size_t size)
 
void stack_deinit (downwards_stack_t *stack)
 
voidstack_grow (downwards_stack_t *stack, size_t size)
 
voidstack_push (downwards_stack_t *stack, const void *data, size_t size)
 
void stack_pop (downwards_stack_t *stack, size_t size, void *data)