\doxysection{vmem.\+h}
\label{a00035_source}\index{vmem.h@{vmem.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ }
\DoxyCodeLine{00040\ \textcolor{preprocessor}{\#ifndef\ \_VMEM\_H\_}}
\DoxyCodeLine{00041\ \textcolor{preprocessor}{\#define\ \_VMEM\_H\_}}
\DoxyCodeLine{00042\ }
\DoxyCodeLine{00043\ \textcolor{preprocessor}{\#include\ <maloc/maloc\_base.h>}}
\DoxyCodeLine{00044\ }
\DoxyCodeLine{00045\ \textcolor{comment}{/*}}
\DoxyCodeLine{00046\ \textcolor{comment}{\ *\ ***************************************************************************}}
\DoxyCodeLine{00047\ \textcolor{comment}{\ *\ Class\ Vmem:\ Parameters\ and\ datatypes}}
\DoxyCodeLine{00048\ \textcolor{comment}{\ *\ ***************************************************************************}}
\DoxyCodeLine{00049\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00050\ }
\DoxyCodeLine{00051\ }
\DoxyCodeLine{00057\ \textcolor{keyword}{struct\ }sVmem\ \{}
\DoxyCodeLine{00058\ }
\DoxyCodeLine{00059\ \ \ \ \ \textcolor{keywordtype}{char}\ name[VMAX\_ARGLEN];\ }
\DoxyCodeLine{00061\ \ \ \ \ \textcolor{keywordtype}{size\_t}\ mallocBytes;\ }
\DoxyCodeLine{00062\ \ \ \ \ \textcolor{keywordtype}{size\_t}\ freeBytes;\ \ \ }
\DoxyCodeLine{00063\ \ \ \ \ \textcolor{keywordtype}{size\_t}\ highWater;\ \ \ }
\DoxyCodeLine{00064\ \ \ \ \ \textcolor{keywordtype}{size\_t}\ mallocAreas;\ }
\DoxyCodeLine{00066\ \};}
\DoxyCodeLine{00067\ }
\DoxyCodeLine{00073\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }sVmem\ Vmem;}
\DoxyCodeLine{00074\ }
\DoxyCodeLine{00075\ \textcolor{comment}{/*}}
\DoxyCodeLine{00076\ \textcolor{comment}{\ *\ ***************************************************************************}}
\DoxyCodeLine{00077\ \textcolor{comment}{\ *\ Class\ Vmem:\ Inlineable\ methods\ (vmem.c)}}
\DoxyCodeLine{00078\ \textcolor{comment}{\ *\ ***************************************************************************}}
\DoxyCodeLine{00079\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00080\ }
\DoxyCodeLine{00081\ \textcolor{preprocessor}{\#if\ !defined(VINLINE\_MALOC)}}
\DoxyCodeLine{00082\ \textcolor{preprocessor}{\#else\ }\textcolor{comment}{/*\ if\ defined(VINLINE\_MALOC)\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00083\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ if\ !defined(VINLINE\_MALOC)\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00084\ }
\DoxyCodeLine{00085\ \textcolor{comment}{/*}}
\DoxyCodeLine{00086\ \textcolor{comment}{\ *\ ***************************************************************************}}
\DoxyCodeLine{00087\ \textcolor{comment}{\ *\ Class\ Vmem:\ Non-\/Inlineable\ methods\ (vmem.c)}}
\DoxyCodeLine{00088\ \textcolor{comment}{\ *\ ***************************************************************************}}
\DoxyCodeLine{00089\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00090\ }
\DoxyCodeLine{00098\ \textcolor{keywordtype}{size\_t}\ Vmem\_bytesTotal(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00099\ }
\DoxyCodeLine{00107\ \textcolor{keywordtype}{size\_t}\ Vmem\_mallocBytesTotal(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00108\ }
\DoxyCodeLine{00116\ \textcolor{keywordtype}{size\_t}\ Vmem\_freeBytesTotal(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00117\ }
\DoxyCodeLine{00125\ \textcolor{keywordtype}{size\_t}\ Vmem\_highWaterTotal(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00126\ }
\DoxyCodeLine{00134\ \textcolor{keywordtype}{size\_t}\ Vmem\_mallocAreasTotal(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00135\ }
\DoxyCodeLine{00143\ \textcolor{keywordtype}{void}\ Vmem\_printTotal(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00144\ }
\DoxyCodeLine{00153\ Vmem*\ Vmem\_ctor(\textcolor{keywordtype}{char}\ *name);}
\DoxyCodeLine{00154\ }
\DoxyCodeLine{00163\ \textcolor{keywordtype}{void}\ Vmem\_dtor(Vmem\ **thee);}
\DoxyCodeLine{00164\ }
\DoxyCodeLine{00175\ \textcolor{keywordtype}{void}\ *Vmem\_malloc(Vmem\ *thee,\ \textcolor{keywordtype}{size\_t}\ num,\ \textcolor{keywordtype}{size\_t}\ size);}
\DoxyCodeLine{00176\ }
\DoxyCodeLine{00188\ \textcolor{keywordtype}{void}\ Vmem\_free(Vmem\ *thee,\ \textcolor{keywordtype}{size\_t}\ num,\ \textcolor{keywordtype}{size\_t}\ size,\ \textcolor{keywordtype}{void}\ **ram);}
\DoxyCodeLine{00189\ }
\DoxyCodeLine{00202\ \textcolor{keywordtype}{void}\ *Vmem\_realloc(Vmem\ *thee,\ \textcolor{keywordtype}{size\_t}\ num,\ \textcolor{keywordtype}{size\_t}\ size,\ \textcolor{keywordtype}{void}\ **ram,}
\DoxyCodeLine{00203\ \ \ \ \ \textcolor{keywordtype}{size\_t}\ newNum);}
\DoxyCodeLine{00204\ }
\DoxyCodeLine{00213\ \textcolor{keywordtype}{size\_t}\ Vmem\_bytes(Vmem\ *thee);}
\DoxyCodeLine{00214\ }
\DoxyCodeLine{00223\ \textcolor{keywordtype}{size\_t}\ Vmem\_mallocBytes(Vmem\ *thee);}
\DoxyCodeLine{00224\ }
\DoxyCodeLine{00233\ \textcolor{keywordtype}{size\_t}\ Vmem\_freeBytes(Vmem\ *thee);}
\DoxyCodeLine{00234\ }
\DoxyCodeLine{00243\ \textcolor{keywordtype}{size\_t}\ Vmem\_highWater(Vmem\ *thee);}
\DoxyCodeLine{00244\ }
\DoxyCodeLine{00253\ \textcolor{keywordtype}{size\_t}\ Vmem\_mallocAreas(Vmem\ *thee);}
\DoxyCodeLine{00254\ }
\DoxyCodeLine{00263\ \textcolor{keywordtype}{void}\ Vmem\_print(Vmem\ *thee);}
\DoxyCodeLine{00264\ }
\DoxyCodeLine{00265\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ \_VMEM\_H\_\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00266\ }

\end{DoxyCode}
