MOS Source Code
Loading...
Searching...
No Matches
stack.h File Reference
#include <mos/moslib_global.h>
#include <mos/types.h>
+ Include dependency graph for stack.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  downwards_stack_t
 

Macros

#define stack_push_val(stack, val)
 
#define stack_pop_val(stack, val)
 

Functions

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