\hypertarget{nnstreamer__util_8h}{}\doxysection{nnstreamer/include/nnstreamer\+\_\+util.h File Reference}
\label{nnstreamer__util_8h}\index{nnstreamer/include/nnstreamer\_util.h@{nnstreamer/include/nnstreamer\_util.h}}


Optional N\+N\+Streamer utility functions for sub-\/plugin writers and users.  


This graph shows which files directly or indirectly include this file\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{nnstreamer__util_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{nnstreamer__util_8h_aea1d71af1a30c261dbd16745c82e94ba}{U\+N\+U\+S\+ED}}(expr)~do \{ (void)(expr); \} \mbox{\hyperlink{tensor__data_8c_a8ca9996595b367352d5665c3ee092ffa}{while}} (0)
\begin{DoxyCompactList}\small\item\em Utility to silence unused parameter warning for intentionally unused parameters (e.\+g., callback functions of a framework) \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{nnstreamer__util_8h_abadb5b22ded1940b3c63bcc1a1d0fc43}{\+\_\+g\+\_\+memdup}}(\mbox{\hyperlink{gsttensor__if_8c_a3c9cc8d6e8da85fef51da4c7115b97f6}{data}},  size)~g\+\_\+memdup (\mbox{\hyperlink{gsttensor__if_8c_a3c9cc8d6e8da85fef51da4c7115b97f6}{data}}, size)
\begin{DoxyCompactList}\small\item\em g\+\_\+memdup() function replaced by g\+\_\+memdup2() in glib version $>$= 2.\+68 \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Optional N\+N\+Streamer utility functions for sub-\/plugin writers and users. 

N\+N\+Streamer Common Utility Header for Plug-\/\+Ins and Users Copyright (C) 2021 Myung\+Joo Ham \href{mailto:myungjoo.ham@samsung.com}{\texttt{ myungjoo.\+ham@samsung.\+com}}

\begin{DoxyDate}{Date}
28 Jul 2021 
\end{DoxyDate}
\begin{DoxySeeAlso}{See also}
\href{https://github.com/nnstreamer/nnstreamer}{\texttt{ https\+://github.\+com/nnstreamer/nnstreamer}} 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
Myung\+Joo Ham \href{mailto:myungjoo.ham@samsung.com}{\texttt{ myungjoo.\+ham@samsung.\+com}} 
\end{DoxyAuthor}
\begin{DoxyRefDesc}{Bug}
\item[\mbox{\hyperlink{bug__bug000078}{Bug}}]No known bugs except for N\+YI items \end{DoxyRefDesc}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{nnstreamer__util_8h_abadb5b22ded1940b3c63bcc1a1d0fc43}\label{nnstreamer__util_8h_abadb5b22ded1940b3c63bcc1a1d0fc43}} 
\index{nnstreamer\_util.h@{nnstreamer\_util.h}!\_g\_memdup@{\_g\_memdup}}
\index{\_g\_memdup@{\_g\_memdup}!nnstreamer\_util.h@{nnstreamer\_util.h}}
\doxysubsubsection{\texorpdfstring{\_g\_memdup}{\_g\_memdup}}
{\footnotesize\ttfamily \#define \+\_\+g\+\_\+memdup(\begin{DoxyParamCaption}\item[{}]{\mbox{\hyperlink{gsttensor__if_8c_a3c9cc8d6e8da85fef51da4c7115b97f6}{data}},  }\item[{}]{size }\end{DoxyParamCaption})~g\+\_\+memdup (\mbox{\hyperlink{gsttensor__if_8c_a3c9cc8d6e8da85fef51da4c7115b97f6}{data}}, size)}



g\+\_\+memdup() function replaced by g\+\_\+memdup2() in glib version $>$= 2.\+68 



Definition at line 31 of file nnstreamer\+\_\+util.\+h.

\mbox{\Hypertarget{nnstreamer__util_8h_aea1d71af1a30c261dbd16745c82e94ba}\label{nnstreamer__util_8h_aea1d71af1a30c261dbd16745c82e94ba}} 
\index{nnstreamer\_util.h@{nnstreamer\_util.h}!UNUSED@{UNUSED}}
\index{UNUSED@{UNUSED}!nnstreamer\_util.h@{nnstreamer\_util.h}}
\doxysubsubsection{\texorpdfstring{UNUSED}{UNUSED}}
{\footnotesize\ttfamily \#define U\+N\+U\+S\+ED(\begin{DoxyParamCaption}\item[{}]{expr }\end{DoxyParamCaption})~do \{ (void)(expr); \} \mbox{\hyperlink{tensor__data_8c_a8ca9996595b367352d5665c3ee092ffa}{while}} (0)}



Utility to silence unused parameter warning for intentionally unused parameters (e.\+g., callback functions of a framework) 



Definition at line 22 of file nnstreamer\+\_\+util.\+h.

