\section{lib/sparse/\-Int\-Stack.c File Reference}
\label{IntStack_8c}\index{lib/sparse/\-Int\-Stack.\-c@{lib/sparse/\-Int\-Stack.\-c}}
{\ttfamily \#include \char`\"{}general.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}Int\-Stack.\-h\char`\"{}}\\*
Include dependency graph for Int\-Stack.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{IntStack_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Int\-Stack} {\bf Int\-Stack\-\_\-new} (void)
\item 
void {\bf Int\-Stack\-\_\-delete} ({\bf Int\-Stack} {\bf s})
\item 
{\bf int} {\bf Int\-Stack\-\_\-push} ({\bf Int\-Stack} {\bf s}, {\bf int} i)
\item 
{\bf int} {\bf Int\-Stack\-\_\-pop} ({\bf Int\-Stack} {\bf s}, {\bf int} $\ast$flag)
\item 
void {\bf Int\-Stack\-\_\-print} ({\bf Int\-Stack} {\bf s})
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\index{Int\-Stack.\-c@{Int\-Stack.\-c}!Int\-Stack\-\_\-delete@{Int\-Stack\-\_\-delete}}
\index{Int\-Stack\-\_\-delete@{Int\-Stack\-\_\-delete}!IntStack.c@{Int\-Stack.\-c}}
\subsubsection[{Int\-Stack\-\_\-delete}]{\setlength{\rightskip}{0pt plus 5cm}void Int\-Stack\-\_\-delete (
\begin{DoxyParamCaption}
\item[{{\bf Int\-Stack}}]{s}
\end{DoxyParamCaption}
)}\label{IntStack_8c_a32212fe245623dbb4eb54ce7129b8b16}


Definition at line 28 of file Int\-Stack.\-c.



References F\-R\-E\-E, and Int\-Stack\-\_\-struct\-::stack.



Referenced by Binary\-Heap\-\_\-delete().

\index{Int\-Stack.\-c@{Int\-Stack.\-c}!Int\-Stack\-\_\-new@{Int\-Stack\-\_\-new}}
\index{Int\-Stack\-\_\-new@{Int\-Stack\-\_\-new}!IntStack.c@{Int\-Stack.\-c}}
\subsubsection[{Int\-Stack\-\_\-new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Int\-Stack} Int\-Stack\-\_\-new (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{IntStack_8c_acc00c6d892fd2f4183b420f4a8e4d7de}


Definition at line 17 of file Int\-Stack.\-c.



References Int\-Stack\-\_\-struct\-::last, M\-A\-L\-L\-O\-C, Int\-Stack\-\_\-struct\-::max\-\_\-len, and Int\-Stack\-\_\-struct\-::stack.



Referenced by Binary\-Heap\-\_\-new().

\index{Int\-Stack.\-c@{Int\-Stack.\-c}!Int\-Stack\-\_\-pop@{Int\-Stack\-\_\-pop}}
\index{Int\-Stack\-\_\-pop@{Int\-Stack\-\_\-pop}!IntStack.c@{Int\-Stack.\-c}}
\subsubsection[{Int\-Stack\-\_\-pop}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} Int\-Stack\-\_\-pop (
\begin{DoxyParamCaption}
\item[{{\bf Int\-Stack}}]{s, }
\item[{{\bf int} $\ast$}]{flag}
\end{DoxyParamCaption}
)}\label{IntStack_8c_a1d976de507e087b85f20a1237fe9aa67}


Definition at line 53 of file Int\-Stack.\-c.



References Int\-Stack\-\_\-struct\-::last, and Int\-Stack\-\_\-struct\-::stack.



Referenced by Binary\-Heap\-\_\-insert().

\index{Int\-Stack.\-c@{Int\-Stack.\-c}!Int\-Stack\-\_\-print@{Int\-Stack\-\_\-print}}
\index{Int\-Stack\-\_\-print@{Int\-Stack\-\_\-print}!IntStack.c@{Int\-Stack.\-c}}
\subsubsection[{Int\-Stack\-\_\-print}]{\setlength{\rightskip}{0pt plus 5cm}void Int\-Stack\-\_\-print (
\begin{DoxyParamCaption}
\item[{{\bf Int\-Stack}}]{s}
\end{DoxyParamCaption}
)}\label{IntStack_8c_a321b9c297b9090fe9430ffd07aa134fa}


Definition at line 62 of file Int\-Stack.\-c.



References Int\-Stack\-\_\-struct\-::last, and Int\-Stack\-\_\-struct\-::stack.

\index{Int\-Stack.\-c@{Int\-Stack.\-c}!Int\-Stack\-\_\-push@{Int\-Stack\-\_\-push}}
\index{Int\-Stack\-\_\-push@{Int\-Stack\-\_\-push}!IntStack.c@{Int\-Stack.\-c}}
\subsubsection[{Int\-Stack\-\_\-push}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} Int\-Stack\-\_\-push (
\begin{DoxyParamCaption}
\item[{{\bf Int\-Stack}}]{s, }
\item[{{\bf int}}]{i}
\end{DoxyParamCaption}
)}\label{IntStack_8c_a9054f748337ec126a3cd60d6b179f4cc}


Definition at line 45 of file Int\-Stack.\-c.



References Int\-Stack\-\_\-struct\-::last, Int\-Stack\-\_\-struct\-::max\-\_\-len, and Int\-Stack\-\_\-struct\-::stack.



Referenced by Binary\-Heap\-\_\-extract\-\_\-item().

