#include <stdint.h>
Go to the source code of this file.
◆ ARC_Stack
a stack type
Definition at line 13 of file stack.h.
◆ ARC_Stack_Create()
creates ARC_Stack type
- Parameters
-
| stack | ARC_Stack to initialize |
◆ ARC_Stack_Destroy()
◆ ARC_Stack_Pop()
pops top off of ARC_Stack
- Parameters
-
| stack | ARC_Stack to remove from |
- Returns
- the poped data from the stack as a void *
◆ ARC_Stack_Push()
| void ARC_Stack_Push |
( |
ARC_Stack * | stack, |
|
|
void * | data ) |
pushes value on stack
- Parameters
-
| stack | ARC_Stack to push to |
| data | data that is being pushed |
◆ ARC_Stack_Size()
gets size of stack
- Parameters
-
| stack | ARC_Stack to get size from |
- Returns
- the stacks size