Skip to content

Latest commit

 

History

History
15 lines (7 loc) · 252 Bytes

README.md

File metadata and controls

15 lines (7 loc) · 252 Bytes

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);