MulticoreBSP for C  Version 2.0.4
Data Fields
mcbsp_util_stack Struct Reference

Self-growing stack. More...

#include <mcutil.h>

Data Fields

size_t cap
 Stack capacity in the number of elements. More...
 
size_t top
 Number of entries in the stack. More...
 
size_t size
 Size of a single entry in bytes. More...
 
void * array
 Stack entries. More...
 

Detailed Description

Self-growing stack.

Field Documentation

void* mcbsp_util_stack::array

Stack entries.

size_t mcbsp_util_stack::cap

Stack capacity in the number of elements.

size_t mcbsp_util_stack::size

Size of a single entry in bytes.

Referenced by mcbsp_util_varstack_regpeek(), mcbsp_util_varstack_regpop(), and mcbsp_util_varstack_regpush().

size_t mcbsp_util_stack::top

Number of entries in the stack.


The documentation for this struct was generated from the following file: