\doxysection{vmem.\+h}
\label{a00035_source}\index{vmem.h@{vmem.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{40 \textcolor{preprocessor}{\#ifndef \_VMEM\_H\_}}
\DoxyCodeLine{41 \textcolor{preprocessor}{\#define \_VMEM\_H\_}}
\DoxyCodeLine{42 }
\DoxyCodeLine{43 \textcolor{preprocessor}{\#include <maloc/maloc\_base.h>}}
\DoxyCodeLine{44 }
\DoxyCodeLine{45 \textcolor{comment}{/*}}
\DoxyCodeLine{46 \textcolor{comment}{ * ***************************************************************************}}
\DoxyCodeLine{47 \textcolor{comment}{ * Class Vmem: Parameters and datatypes}}
\DoxyCodeLine{48 \textcolor{comment}{ * ***************************************************************************}}
\DoxyCodeLine{49 \textcolor{comment}{ */}}
\DoxyCodeLine{50 }
\DoxyCodeLine{51 }
\DoxyCodeLine{57 \textcolor{keyword}{struct }sVmem \{}
\DoxyCodeLine{58 }
\DoxyCodeLine{59     \textcolor{keywordtype}{char} name[VMAX\_ARGLEN]; }
\DoxyCodeLine{61     \textcolor{keywordtype}{size\_t} mallocBytes; }
\DoxyCodeLine{62     \textcolor{keywordtype}{size\_t} freeBytes;   }
\DoxyCodeLine{63     \textcolor{keywordtype}{size\_t} highWater;   }
\DoxyCodeLine{64     \textcolor{keywordtype}{size\_t} mallocAreas; }
\DoxyCodeLine{66 \};}
\DoxyCodeLine{67 }
\DoxyCodeLine{73 \textcolor{keyword}{typedef} \textcolor{keyword}{struct }sVmem Vmem;}
\DoxyCodeLine{74 }
\DoxyCodeLine{75 \textcolor{comment}{/*}}
\DoxyCodeLine{76 \textcolor{comment}{ * ***************************************************************************}}
\DoxyCodeLine{77 \textcolor{comment}{ * Class Vmem: Inlineable methods (vmem.c)}}
\DoxyCodeLine{78 \textcolor{comment}{ * ***************************************************************************}}
\DoxyCodeLine{79 \textcolor{comment}{ */}}
\DoxyCodeLine{80 }
\DoxyCodeLine{81 \textcolor{preprocessor}{\#if !defined(VINLINE\_MALOC)}}
\DoxyCodeLine{82 \textcolor{preprocessor}{\#else }\textcolor{comment}{/* if defined(VINLINE\_MALOC) */}\textcolor{preprocessor}{}}
\DoxyCodeLine{83 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* if !defined(VINLINE\_MALOC) */}\textcolor{preprocessor}{}}
\DoxyCodeLine{84 }
\DoxyCodeLine{85 \textcolor{comment}{/*}}
\DoxyCodeLine{86 \textcolor{comment}{ * ***************************************************************************}}
\DoxyCodeLine{87 \textcolor{comment}{ * Class Vmem: Non-\/Inlineable methods (vmem.c)}}
\DoxyCodeLine{88 \textcolor{comment}{ * ***************************************************************************}}
\DoxyCodeLine{89 \textcolor{comment}{ */}}
\DoxyCodeLine{90 }
\DoxyCodeLine{98 \textcolor{keywordtype}{size\_t} Vmem\_bytesTotal(\textcolor{keywordtype}{void});}
\DoxyCodeLine{99 }
\DoxyCodeLine{107 \textcolor{keywordtype}{size\_t} Vmem\_mallocBytesTotal(\textcolor{keywordtype}{void});}
\DoxyCodeLine{108 }
\DoxyCodeLine{116 \textcolor{keywordtype}{size\_t} Vmem\_freeBytesTotal(\textcolor{keywordtype}{void});}
\DoxyCodeLine{117 }
\DoxyCodeLine{125 \textcolor{keywordtype}{size\_t} Vmem\_highWaterTotal(\textcolor{keywordtype}{void});}
\DoxyCodeLine{126 }
\DoxyCodeLine{134 \textcolor{keywordtype}{size\_t} Vmem\_mallocAreasTotal(\textcolor{keywordtype}{void});}
\DoxyCodeLine{135 }
\DoxyCodeLine{143 \textcolor{keywordtype}{void} Vmem\_printTotal(\textcolor{keywordtype}{void});}
\DoxyCodeLine{144 }
\DoxyCodeLine{153 Vmem* Vmem\_ctor(\textcolor{keywordtype}{char} *name);}
\DoxyCodeLine{154 }
\DoxyCodeLine{163 \textcolor{keywordtype}{void} Vmem\_dtor(Vmem **thee);}
\DoxyCodeLine{164 }
\DoxyCodeLine{175 \textcolor{keywordtype}{void} *Vmem\_malloc(Vmem *thee, \textcolor{keywordtype}{size\_t} num, \textcolor{keywordtype}{size\_t} size);}
\DoxyCodeLine{176 }
\DoxyCodeLine{188 \textcolor{keywordtype}{void} Vmem\_free(Vmem *thee, \textcolor{keywordtype}{size\_t} num, \textcolor{keywordtype}{size\_t} size, \textcolor{keywordtype}{void} **ram);}
\DoxyCodeLine{189 }
\DoxyCodeLine{202 \textcolor{keywordtype}{void} *Vmem\_realloc(Vmem *thee, \textcolor{keywordtype}{size\_t} num, \textcolor{keywordtype}{size\_t} size, \textcolor{keywordtype}{void} **ram,}
\DoxyCodeLine{203     \textcolor{keywordtype}{size\_t} newNum);}
\DoxyCodeLine{204 }
\DoxyCodeLine{213 \textcolor{keywordtype}{size\_t} Vmem\_bytes(Vmem *thee);}
\DoxyCodeLine{214 }
\DoxyCodeLine{223 \textcolor{keywordtype}{size\_t} Vmem\_mallocBytes(Vmem *thee);}
\DoxyCodeLine{224 }
\DoxyCodeLine{233 \textcolor{keywordtype}{size\_t} Vmem\_freeBytes(Vmem *thee);}
\DoxyCodeLine{234 }
\DoxyCodeLine{243 \textcolor{keywordtype}{size\_t} Vmem\_highWater(Vmem *thee);}
\DoxyCodeLine{244 }
\DoxyCodeLine{253 \textcolor{keywordtype}{size\_t} Vmem\_mallocAreas(Vmem *thee);}
\DoxyCodeLine{254 }
\DoxyCodeLine{263 \textcolor{keywordtype}{void} Vmem\_print(Vmem *thee);}
\DoxyCodeLine{264 }
\DoxyCodeLine{265 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* \_VMEM\_H\_ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{266 }

\end{DoxyCode}
