libstd v0.1.0
Loading...
Searching...
No Matches
Public Attributes | List of all members
Stack Struct Reference

Structure representing a generic linked-list-based Stack. More...

#include <stack.h>

Collaboration diagram for Stack:
Collaboration graph
[legend]

Public Attributes

StackNodetop
 
size_t element_size
 
size_t size
 

Detailed Description

Structure representing a generic linked-list-based Stack.

Member Data Documentation

◆ element_size

size_t Stack::element_size

Memory size (in bytes) of each stored element.

◆ size

size_t Stack::size

Total number of elements currently on the stack.

◆ top

StackNode* Stack::top

Pointer to the top node (push/pop insertion point).


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