Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rohanshukla94/stack

Stack in C using Generics
https://github.com/rohanshukla94/stack

c generics stack

Last synced: 9 days ago
JSON representation

Stack in C using Generics

Awesome Lists containing this project

README

        

# Stack
Using Generics in C++.

## Usage


void stack_init(stack *s, int elementSize, void(*free_function)(void*));

void stack_destroy(stack *s);

void stack_push(stack *s, void *elementAddress);

void stack_pop(stack *s, void *elementAddress);