\doxysection{rtrlib/lib/alloc\+\_\+utils.h File Reference}
\hypertarget{alloc__utils_8h}{}\label{alloc__utils_8h}\index{rtrlib/lib/alloc\_utils.h@{rtrlib/lib/alloc\_utils.h}}
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{alloc__utils_8h_a4d98951515bd103aff13656ff747e434}{lrtr\+\_\+set\+\_\+alloc\+\_\+functions}} (void \texorpdfstring{$\ast$}{*}(\texorpdfstring{$\ast$}{*}malloc\+\_\+function)(size\+\_\+t size), void \texorpdfstring{$\ast$}{*}(\texorpdfstring{$\ast$}{*}realloc\+\_\+function)(void \texorpdfstring{$\ast$}{*}ptr, size\+\_\+t size), void(\texorpdfstring{$\ast$}{*}free\+\_\+function)(void \texorpdfstring{$\ast$}{*}ptr))
\begin{DoxyCompactList}\small\item\em Sets custom malloc, realloc and free function that is used throughout rtrlib. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\Hypertarget{alloc__utils_8h_a4d98951515bd103aff13656ff747e434}\label{alloc__utils_8h_a4d98951515bd103aff13656ff747e434} 
\index{alloc\_utils.h@{alloc\_utils.h}!lrtr\_set\_alloc\_functions@{lrtr\_set\_alloc\_functions}}
\index{lrtr\_set\_alloc\_functions@{lrtr\_set\_alloc\_functions}!alloc\_utils.h@{alloc\_utils.h}}
\doxysubsubsection{\texorpdfstring{lrtr\_set\_alloc\_functions()}{lrtr\_set\_alloc\_functions()}}
{\footnotesize\ttfamily void lrtr\+\_\+set\+\_\+alloc\+\_\+functions (\begin{DoxyParamCaption}\item[{void \texorpdfstring{$\ast$}{*}(\texorpdfstring{$\ast$}{*})(size\+\_\+t size)}]{malloc\+\_\+function,  }\item[{void \texorpdfstring{$\ast$}{*}(\texorpdfstring{$\ast$}{*})(void \texorpdfstring{$\ast$}{*}ptr, size\+\_\+t size)}]{realloc\+\_\+function,  }\item[{void(\texorpdfstring{$\ast$}{*})(void \texorpdfstring{$\ast$}{*}ptr)}]{free\+\_\+function }\end{DoxyParamCaption})}



Sets custom malloc, realloc and free function that is used throughout rtrlib. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em Pointer} & to malloc function \\
\hline
\mbox{\texttt{ in}}  & {\em Pointer} & to realloc function \\
\hline
\mbox{\texttt{ in}}  & {\em Pointer} & to free function \\
\hline
\end{DoxyParams}
