src/util/pile.c File Reference src/util/pile.c simple pile #include "../../include/util.h" Functions int util_pile_push (pile **p, int value) int util_pile_pop (pile **p) void util_pile_clear (pile **p) int util_pile_length (pile *p) void util_pile_view (pile *p)
Detailed Description simple pile This file is part of Gem-graph. It implements a simple pile functions.
Function Documentation
util_pile_clear() util_pile_clearpile.c pile.cutil_pile_clear void util_pile_clear (pile ** p) Parameters **p
util_pile_length() util_pile_lengthpile.c pile.cutil_pile_length int util_pile_length (pile * p) Parameters **p
Returns length
util_pile_pop() util_pile_poppile.c pile.cutil_pile_pop int util_pile_pop (pile ** p) Parameters **p
Returns value
util_pile_push() util_pile_pushpile.c pile.cutil_pile_push int util_pile_push (pile ** p, int value) Parameters **p value
Returns value
util_pile_view() util_pile_viewpile.c pile.cutil_pile_view void util_pile_view (pile * p) Parameters **p