A generic stack in C inspired by C++ Stack STL, with template-like support.
C
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
stack.c
stack.h

README.md

Stack

C++ Stack STL implemented in C, with generic template support.

A stack that is based off GNU's List implementation. This is inspired by C++ stack STL, with generic support. The stack does not require dynamic memory allocation and can take any struct, regardless of typing, which has a pointer to a struct_elem.