\section{lib/neatogen/mem.h File Reference}
\label{mem_8h}\index{lib/neatogen/mem.\-h@{lib/neatogen/mem.\-h}}
This graph shows which files directly or indirectly include this file\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{mem_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct {\bf freelist}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf M\-E\-M\-O\-R\-Y\-\_\-\-H}
\item 
\#define {\bf N\-U\-L\-L}~0
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct {\bf freelist} {\bf Freelist}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void $\ast$ {\bf getfree} ({\bf Freelist} $\ast$)
\item 
void {\bf freeinit} ({\bf Freelist} $\ast$, {\bf int})
\item 
void {\bf makefree} (void $\ast$, {\bf Freelist} $\ast$)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{mem.\-h@{mem.\-h}!M\-E\-M\-O\-R\-Y\-\_\-\-H@{M\-E\-M\-O\-R\-Y\-\_\-\-H}}
\index{M\-E\-M\-O\-R\-Y\-\_\-\-H@{M\-E\-M\-O\-R\-Y\-\_\-\-H}!mem.h@{mem.\-h}}
\subsubsection[{M\-E\-M\-O\-R\-Y\-\_\-\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define M\-E\-M\-O\-R\-Y\-\_\-\-H}\label{mem_8h_adcbc57b01751050a037b0ae048d31d9b}


Definition at line 21 of file mem.\-h.

\index{mem.\-h@{mem.\-h}!N\-U\-L\-L@{N\-U\-L\-L}}
\index{N\-U\-L\-L@{N\-U\-L\-L}!mem.h@{mem.\-h}}
\subsubsection[{N\-U\-L\-L}]{\setlength{\rightskip}{0pt plus 5cm}\#define N\-U\-L\-L~0}\label{mem_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}


Definition at line 24 of file mem.\-h.



\subsection{Typedef Documentation}
\index{mem.\-h@{mem.\-h}!Freelist@{Freelist}}
\index{Freelist@{Freelist}!mem.h@{mem.\-h}}
\subsubsection[{Freelist}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf freelist}  {\bf Freelist}}\label{mem_8h_ac85cdae24737c7ee12592b20dad1cc33}


\subsection{Function Documentation}
\index{mem.\-h@{mem.\-h}!freeinit@{freeinit}}
\index{freeinit@{freeinit}!mem.h@{mem.\-h}}
\subsubsection[{freeinit}]{\setlength{\rightskip}{0pt plus 5cm}void freeinit (
\begin{DoxyParamCaption}
\item[{{\bf Freelist} $\ast$}]{, }
\item[{{\bf int}}]{}
\end{DoxyParamCaption}
)}\label{mem_8h_ab87e549c64ddc746656cb547033136df}


Definition at line 43 of file memory.\-c.



References freelist\-::blocklist, freelist\-::head, L\-C\-M, freeblock\-::next, freeblock\-::nodes, freelist\-::nodesize, and N\-U\-L\-L.



Referenced by edgeinit(), E\-Lcleanup(), E\-Linitialize(), infoinit(), and siteinit().

\index{mem.\-h@{mem.\-h}!getfree@{getfree}}
\index{getfree@{getfree}!mem.h@{mem.\-h}}
\subsubsection[{getfree}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ getfree (
\begin{DoxyParamCaption}
\item[{{\bf Freelist} $\ast$}]{}
\end{DoxyParamCaption}
)}\label{mem_8h_ae40c54411e9d7431ef3caa01b01af893}


Definition at line 62 of file memory.\-c.



References freelist\-::blocklist, gmalloc(), G\-N\-E\-W, freelist\-::head, makefree(), freeblock\-::next, freenode\-::nextfree, freeblock\-::nodes, freelist\-::nodesize, N\-U\-L\-L, and sqrt\-\_\-nsites.



Referenced by add\-Vertex(), getsite(), gvbisect(), and H\-Ecreate().

\index{mem.\-h@{mem.\-h}!makefree@{makefree}}
\index{makefree@{makefree}!mem.h@{mem.\-h}}
\subsubsection[{makefree}]{\setlength{\rightskip}{0pt plus 5cm}void makefree (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{, }
\item[{{\bf Freelist} $\ast$}]{}
\end{DoxyParamCaption}
)}\label{mem_8h_a7d2f9bbdd6219a95d3ef84825dcf0f0a}


Definition at line 86 of file memory.\-c.



References freelist\-::head.



Referenced by deref(), endpoint(), and getfree().

