\hypertarget{group__Eina__Value__Type__Group}{}\section{Generic Value Type management}
\label{group__Eina__Value__Type__Group}\index{Generic Value Type management@{Generic Value Type management}}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__Eina__Value__Type}{\+\_\+\+Eina\+\_\+\+Value\+\_\+\+Type}}
\begin{DoxyCompactList}\small\item\em A\+PI to access values. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Eina__Value__Type__Group_ga16a703617b8fc48e3ee95663db7becb2}\label{group__Eina__Value__Type__Group_ga16a703617b8fc48e3ee95663db7becb2}} 
\#define \mbox{\hyperlink{group__Eina__Value__Type__Group_ga16a703617b8fc48e3ee95663db7becb2}{E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+V\+E\+R\+S\+I\+ON}}~(1)
\begin{DoxyCompactList}\small\item\em Current A\+PI version, used to validate type. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
const char $\ast$ \mbox{\hyperlink{group__Eina__Value__Type__Group_gac45525c94f6f87800b0f2b9ed5694bf5}{eina\+\_\+value\+\_\+type\+\_\+name\+\_\+get}} (const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$type)
\begin{DoxyCompactList}\small\item\em Queries type name. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value__Type__Group_ga4bdb742313b3dcd2ae65441144d04236}{eina\+\_\+value\+\_\+type\+\_\+check}} (const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$type)
\begin{DoxyCompactList}\small\item\em Checks if type is valid. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value__Type__Group_gab9a6635d937eaccc2397e6031ff28d44}{eina\+\_\+value\+\_\+type\+\_\+setup}} (const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$type, void $\ast$mem)
\begin{DoxyCompactList}\small\item\em Initializes memory using type descriptor. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value__Type__Group_gaf023815da0cde2d15dcedc7c568a2ab6}{eina\+\_\+value\+\_\+type\+\_\+flush}} (const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$type, void $\ast$mem)
\begin{DoxyCompactList}\small\item\em Flushes (clears) memory using type descriptor. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value__Type__Group_ga113ba54df56b4d7f6b5dad71ec5bb66b}{eina\+\_\+value\+\_\+type\+\_\+copy}} (const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$type, const void $\ast$src, void $\ast$dst)
\begin{DoxyCompactList}\small\item\em Copies memory using type descriptor. \end{DoxyCompactList}\item 
static int \mbox{\hyperlink{group__Eina__Value__Type__Group_ga5ed7f82ab0c449b32538bcd05696c55a}{eina\+\_\+value\+\_\+type\+\_\+compare}} (const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$type, const void $\ast$a, const void $\ast$b)
\begin{DoxyCompactList}\small\item\em Compares memory using type descriptor. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value__Type__Group_ga9809966b5bf15fb7e3aa958f0e842281}{eina\+\_\+value\+\_\+type\+\_\+convert\+\_\+to}} (const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$type, const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$convert, const void $\ast$type\+\_\+mem, void $\ast$convert\+\_\+mem)
\begin{DoxyCompactList}\small\item\em Converts memory using type descriptor. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value__Type__Group_ga0b5ffb70fcccfa6664100b6fab808d3d}{eina\+\_\+value\+\_\+type\+\_\+convert\+\_\+from}} (const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$type, const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$convert, void $\ast$type\+\_\+mem, const void $\ast$convert\+\_\+mem)
\begin{DoxyCompactList}\small\item\em Converts memory using type descriptor. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value__Type__Group_ga36de045844ceb7b4c8c458d6641005ec}{eina\+\_\+value\+\_\+type\+\_\+vset}} (const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$type, void $\ast$mem, va\+\_\+list args)
\begin{DoxyCompactList}\small\item\em Sets memory using type descriptor and variable argument. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value__Type__Group_gaa1db66cf99d88b020f41763cd171a98d}{eina\+\_\+value\+\_\+type\+\_\+pset}} (const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$type, void $\ast$mem, const void $\ast$ptr)
\begin{DoxyCompactList}\small\item\em Sets memory using type descriptor and pointer. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Value__Type__Group_gac377cdcda3c59985fdbfb639f07b4430}{eina\+\_\+value\+\_\+type\+\_\+pget}} (const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$type, const void $\ast$mem, void $\ast$ptr)
\begin{DoxyCompactList}\small\item\em Gets memory using type descriptor. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}


\subsection{Function Documentation}
\mbox{\Hypertarget{group__Eina__Value__Type__Group_gac45525c94f6f87800b0f2b9ed5694bf5}\label{group__Eina__Value__Type__Group_gac45525c94f6f87800b0f2b9ed5694bf5}} 
\index{Generic Value Type management@{Generic Value Type management}!eina\+\_\+value\+\_\+type\+\_\+name\+\_\+get@{eina\+\_\+value\+\_\+type\+\_\+name\+\_\+get}}
\index{eina\+\_\+value\+\_\+type\+\_\+name\+\_\+get@{eina\+\_\+value\+\_\+type\+\_\+name\+\_\+get}!Generic Value Type management@{Generic Value Type management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+type\+\_\+name\+\_\+get()}{eina\_value\_type\_name\_get()}}
{\footnotesize\ttfamily const char$\ast$ eina\+\_\+value\+\_\+type\+\_\+name\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$}]{type }\end{DoxyParamCaption})}



Queries type name. 


\begin{DoxyParams}{Parameters}
{\em type} & type reference. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
string or {\ttfamily N\+U\+LL} if type is invalid.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Type__Group_ga4bdb742313b3dcd2ae65441144d04236}\label{group__Eina__Value__Type__Group_ga4bdb742313b3dcd2ae65441144d04236}} 
\index{Generic Value Type management@{Generic Value Type management}!eina\+\_\+value\+\_\+type\+\_\+check@{eina\+\_\+value\+\_\+type\+\_\+check}}
\index{eina\+\_\+value\+\_\+type\+\_\+check@{eina\+\_\+value\+\_\+type\+\_\+check}!Generic Value Type management@{Generic Value Type management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+type\+\_\+check()}{eina\_value\_type\_check()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+value\+\_\+type\+\_\+check (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$}]{type }\end{DoxyParamCaption})}



Checks if type is valid. 


\begin{DoxyParams}{Parameters}
{\em type} & Type reference. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}} if valid, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE}} otherwise.
\end{DoxyReturn}
A type is invalid if it\textquotesingle{}s N\+U\+LL or if version field is not the same as runtime \mbox{\hyperlink{group__Eina__Value__Type__Group_ga16a703617b8fc48e3ee95663db7becb2}{E\+I\+N\+A\+\_\+\+V\+A\+L\+U\+E\+\_\+\+T\+Y\+P\+E\+\_\+\+V\+E\+R\+S\+I\+ON}}.

\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Type__Group_gab9a6635d937eaccc2397e6031ff28d44}\label{group__Eina__Value__Type__Group_gab9a6635d937eaccc2397e6031ff28d44}} 
\index{Generic Value Type management@{Generic Value Type management}!eina\+\_\+value\+\_\+type\+\_\+setup@{eina\+\_\+value\+\_\+type\+\_\+setup}}
\index{eina\+\_\+value\+\_\+type\+\_\+setup@{eina\+\_\+value\+\_\+type\+\_\+setup}!Generic Value Type management@{Generic Value Type management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+type\+\_\+setup()}{eina\_value\_type\_setup()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+value\+\_\+type\+\_\+setup (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$}]{type,  }\item[{void $\ast$}]{mem }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Initializes memory using type descriptor. 


\begin{DoxyParams}{Parameters}
{\em type} & type reference. \\
\hline
{\em mem} & memory to operate, must be of size {\ttfamily type-\/$>$value\+\_\+size}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE}} otherwise.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Type__Group_gaf023815da0cde2d15dcedc7c568a2ab6}\label{group__Eina__Value__Type__Group_gaf023815da0cde2d15dcedc7c568a2ab6}} 
\index{Generic Value Type management@{Generic Value Type management}!eina\+\_\+value\+\_\+type\+\_\+flush@{eina\+\_\+value\+\_\+type\+\_\+flush}}
\index{eina\+\_\+value\+\_\+type\+\_\+flush@{eina\+\_\+value\+\_\+type\+\_\+flush}!Generic Value Type management@{Generic Value Type management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+type\+\_\+flush()}{eina\_value\_type\_flush()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+value\+\_\+type\+\_\+flush (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$}]{type,  }\item[{void $\ast$}]{mem }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Flushes (clears) memory using type descriptor. 


\begin{DoxyParams}{Parameters}
{\em type} & type reference. \\
\hline
{\em mem} & memory to operate, must be of size {\ttfamily type-\/$>$value\+\_\+size}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE}} otherwise.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Type__Group_ga113ba54df56b4d7f6b5dad71ec5bb66b}\label{group__Eina__Value__Type__Group_ga113ba54df56b4d7f6b5dad71ec5bb66b}} 
\index{Generic Value Type management@{Generic Value Type management}!eina\+\_\+value\+\_\+type\+\_\+copy@{eina\+\_\+value\+\_\+type\+\_\+copy}}
\index{eina\+\_\+value\+\_\+type\+\_\+copy@{eina\+\_\+value\+\_\+type\+\_\+copy}!Generic Value Type management@{Generic Value Type management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+type\+\_\+copy()}{eina\_value\_type\_copy()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+value\+\_\+type\+\_\+copy (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$}]{type,  }\item[{const void $\ast$}]{src,  }\item[{void $\ast$}]{dst }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Copies memory using type descriptor. 


\begin{DoxyParams}{Parameters}
{\em type} & type reference. \\
\hline
{\em src} & memory to operate, must be of size {\ttfamily type-\/$>$value\+\_\+size}. \\
\hline
{\em dst} & memory to operate, must be of size {\ttfamily type-\/$>$value\+\_\+size}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE}} otherwise.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Type__Group_ga5ed7f82ab0c449b32538bcd05696c55a}\label{group__Eina__Value__Type__Group_ga5ed7f82ab0c449b32538bcd05696c55a}} 
\index{Generic Value Type management@{Generic Value Type management}!eina\+\_\+value\+\_\+type\+\_\+compare@{eina\+\_\+value\+\_\+type\+\_\+compare}}
\index{eina\+\_\+value\+\_\+type\+\_\+compare@{eina\+\_\+value\+\_\+type\+\_\+compare}!Generic Value Type management@{Generic Value Type management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+type\+\_\+compare()}{eina\_value\_type\_compare()}}
{\footnotesize\ttfamily static int eina\+\_\+value\+\_\+type\+\_\+compare (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$}]{type,  }\item[{const void $\ast$}]{a,  }\item[{const void $\ast$}]{b }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Compares memory using type descriptor. 


\begin{DoxyParams}{Parameters}
{\em type} & type reference. \\
\hline
{\em a} & memory to operate, must be of size {\ttfamily type-\/$>$value\+\_\+size}. \\
\hline
{\em b} & memory to operate, must be of size {\ttfamily type-\/$>$value\+\_\+size}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
less than zero if a $<$ b, greater than zero if a $>$ b, zero if equal.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Type__Group_ga9809966b5bf15fb7e3aa958f0e842281}\label{group__Eina__Value__Type__Group_ga9809966b5bf15fb7e3aa958f0e842281}} 
\index{Generic Value Type management@{Generic Value Type management}!eina\+\_\+value\+\_\+type\+\_\+convert\+\_\+to@{eina\+\_\+value\+\_\+type\+\_\+convert\+\_\+to}}
\index{eina\+\_\+value\+\_\+type\+\_\+convert\+\_\+to@{eina\+\_\+value\+\_\+type\+\_\+convert\+\_\+to}!Generic Value Type management@{Generic Value Type management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+type\+\_\+convert\+\_\+to()}{eina\_value\_type\_convert\_to()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+value\+\_\+type\+\_\+convert\+\_\+to (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$}]{type,  }\item[{const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$}]{convert,  }\item[{const void $\ast$}]{type\+\_\+mem,  }\item[{void $\ast$}]{convert\+\_\+mem }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Converts memory using type descriptor. 


\begin{DoxyParams}{Parameters}
{\em type} & type reference of the source. \\
\hline
{\em convert} & type reference of the destination. \\
\hline
{\em type\+\_\+mem} & memory to operate, must be of size {\ttfamily type-\/$>$value\+\_\+size}. \\
\hline
{\em convert\+\_\+mem} & memory to operate, must be of size {\ttfamily convert-\/$>$value\+\_\+size}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE}} otherwise.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Type__Group_ga0b5ffb70fcccfa6664100b6fab808d3d}\label{group__Eina__Value__Type__Group_ga0b5ffb70fcccfa6664100b6fab808d3d}} 
\index{Generic Value Type management@{Generic Value Type management}!eina\+\_\+value\+\_\+type\+\_\+convert\+\_\+from@{eina\+\_\+value\+\_\+type\+\_\+convert\+\_\+from}}
\index{eina\+\_\+value\+\_\+type\+\_\+convert\+\_\+from@{eina\+\_\+value\+\_\+type\+\_\+convert\+\_\+from}!Generic Value Type management@{Generic Value Type management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+type\+\_\+convert\+\_\+from()}{eina\_value\_type\_convert\_from()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+value\+\_\+type\+\_\+convert\+\_\+from (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$}]{type,  }\item[{const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$}]{convert,  }\item[{void $\ast$}]{type\+\_\+mem,  }\item[{const void $\ast$}]{convert\+\_\+mem }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Converts memory using type descriptor. 


\begin{DoxyParams}{Parameters}
{\em type} & type reference of the destination. \\
\hline
{\em convert} & type reference of the source. \\
\hline
{\em type\+\_\+mem} & memory to operate, must be of size {\ttfamily type-\/$>$value\+\_\+size}. \\
\hline
{\em convert\+\_\+mem} & memory to operate, must be of size {\ttfamily convert-\/$>$value\+\_\+size}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE}} otherwise.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Type__Group_ga36de045844ceb7b4c8c458d6641005ec}\label{group__Eina__Value__Type__Group_ga36de045844ceb7b4c8c458d6641005ec}} 
\index{Generic Value Type management@{Generic Value Type management}!eina\+\_\+value\+\_\+type\+\_\+vset@{eina\+\_\+value\+\_\+type\+\_\+vset}}
\index{eina\+\_\+value\+\_\+type\+\_\+vset@{eina\+\_\+value\+\_\+type\+\_\+vset}!Generic Value Type management@{Generic Value Type management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+type\+\_\+vset()}{eina\_value\_type\_vset()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+value\+\_\+type\+\_\+vset (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$}]{type,  }\item[{void $\ast$}]{mem,  }\item[{va\+\_\+list}]{args }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Sets memory using type descriptor and variable argument. 


\begin{DoxyParams}{Parameters}
{\em type} & type reference of the source. \\
\hline
{\em mem} & memory to operate, must be of size {\ttfamily type-\/$>$value\+\_\+size}. \\
\hline
{\em args} & input value. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE}} otherwise.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Value__Type__Group_gaa1db66cf99d88b020f41763cd171a98d}\label{group__Eina__Value__Type__Group_gaa1db66cf99d88b020f41763cd171a98d}} 
\index{Generic Value Type management@{Generic Value Type management}!eina\+\_\+value\+\_\+type\+\_\+pset@{eina\+\_\+value\+\_\+type\+\_\+pset}}
\index{eina\+\_\+value\+\_\+type\+\_\+pset@{eina\+\_\+value\+\_\+type\+\_\+pset}!Generic Value Type management@{Generic Value Type management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+type\+\_\+pset()}{eina\_value\_type\_pset()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+value\+\_\+type\+\_\+pset (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$}]{type,  }\item[{void $\ast$}]{mem,  }\item[{const void $\ast$}]{ptr }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Sets memory using type descriptor and pointer. 


\begin{DoxyParams}{Parameters}
{\em type} & type reference of the source. \\
\hline
{\em mem} & memory to operate, must be of size {\ttfamily type-\/$>$value\+\_\+size}. \\
\hline
{\em ptr} & pointer to input value. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE}} otherwise.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\begin{Desc}
\item[Examples\+: ]\par
\mbox{\hyperlink{eina_value_03_8c-example}{eina\+\_\+value\+\_\+03.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Eina__Value__Type__Group_gac377cdcda3c59985fdbfb639f07b4430}\label{group__Eina__Value__Type__Group_gac377cdcda3c59985fdbfb639f07b4430}} 
\index{Generic Value Type management@{Generic Value Type management}!eina\+\_\+value\+\_\+type\+\_\+pget@{eina\+\_\+value\+\_\+type\+\_\+pget}}
\index{eina\+\_\+value\+\_\+type\+\_\+pget@{eina\+\_\+value\+\_\+type\+\_\+pget}!Generic Value Type management@{Generic Value Type management}}
\subsubsection{\texorpdfstring{eina\+\_\+value\+\_\+type\+\_\+pget()}{eina\_value\_type\_pget()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+value\+\_\+type\+\_\+pget (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$}]{type,  }\item[{const void $\ast$}]{mem,  }\item[{void $\ast$}]{ptr }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Gets memory using type descriptor. 


\begin{DoxyParams}{Parameters}
{\em type} & type reference of the source. \\
\hline
{\em mem} & memory to operate, must be of size {\ttfamily type-\/$>$value\+\_\+size}. \\
\hline
{\em ptr} & pointer to output. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE}} otherwise.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
