2024-10-20 23:03:17 +02:00
|
|
|
.TH "src/util/pile.c" 3 "Version 0.1.0" "Gem-graph" \" -*- nroff -*-
|
|
|
|
.ad l
|
|
|
|
.nh
|
|
|
|
.SH NAME
|
2024-10-22 23:58:04 +02:00
|
|
|
src/util/pile.c \- simple pile
|
2024-10-20 23:03:17 +02:00
|
|
|
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.br
|
|
|
|
.PP
|
|
|
|
\fC#include '\&.\&./\&.\&./include/util\&.h'\fP
|
|
|
|
.br
|
|
|
|
|
|
|
|
.SS "Functions"
|
|
|
|
|
|
|
|
.in +1c
|
|
|
|
.ti -1c
|
|
|
|
.RI "int \fButil_pile_push\fP (\fBpile\fP **p, int value)"
|
|
|
|
.br
|
|
|
|
.ti -1c
|
|
|
|
.RI "int \fButil_pile_pop\fP (\fBpile\fP **p)"
|
|
|
|
.br
|
|
|
|
.ti -1c
|
|
|
|
.RI "void \fButil_pile_clear\fP (\fBpile\fP **p)"
|
|
|
|
.br
|
|
|
|
.ti -1c
|
|
|
|
.RI "int \fButil_pile_length\fP (\fBpile\fP *p)"
|
|
|
|
.br
|
|
|
|
.ti -1c
|
|
|
|
.RI "void \fButil_pile_view\fP (\fBpile\fP *p)"
|
|
|
|
.br
|
|
|
|
.in -1c
|
|
|
|
.SH "Detailed Description"
|
|
|
|
.PP
|
2024-10-22 23:58:04 +02:00
|
|
|
simple pile
|
2024-10-20 23:03:17 +02:00
|
|
|
|
|
|
|
This file is part of Gem-graph\&. It implements a simple pile functions\&.
|
|
|
|
.SH "Function Documentation"
|
|
|
|
.PP
|
|
|
|
.SS "void util_pile_clear (\fBpile\fP ** p)"
|
|
|
|
|
|
|
|
.PP
|
|
|
|
\fBParameters\fP
|
|
|
|
.RS 4
|
|
|
|
\fI**p\fP
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
|
|
|
|
.SS "int util_pile_length (\fBpile\fP * p)"
|
|
|
|
|
|
|
|
.PP
|
|
|
|
\fBParameters\fP
|
|
|
|
.RS 4
|
|
|
|
\fI**p\fP
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
\fBReturns\fP
|
|
|
|
.RS 4
|
|
|
|
length
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
|
|
|
|
.SS "int util_pile_pop (\fBpile\fP ** p)"
|
|
|
|
|
|
|
|
.PP
|
|
|
|
\fBParameters\fP
|
|
|
|
.RS 4
|
|
|
|
\fI**p\fP
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
\fBReturns\fP
|
|
|
|
.RS 4
|
|
|
|
value
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
|
|
|
|
.SS "int util_pile_push (\fBpile\fP ** p, int value)"
|
|
|
|
|
|
|
|
.PP
|
|
|
|
\fBParameters\fP
|
|
|
|
.RS 4
|
|
|
|
\fI**p\fP
|
|
|
|
.br
|
|
|
|
\fIvalue\fP
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
\fBReturns\fP
|
|
|
|
.RS 4
|
|
|
|
value
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
|
|
|
|
.SS "void util_pile_view (\fBpile\fP * p)"
|
|
|
|
|
|
|
|
.PP
|
|
|
|
\fBParameters\fP
|
|
|
|
.RS 4
|
|
|
|
\fI**p\fP
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
|
|
|
|
.SH "Author"
|
|
|
|
.PP
|
|
|
|
Generated automatically by Doxygen for Gem-graph from the source code\&.
|