\hypertarget{struct__Eina__Value__Type}{}\doxysection{\+\_\+\+Eina\+\_\+\+Value\+\_\+\+Type Struct Reference}
\label{struct__Eina__Value__Type}\index{\_Eina\_Value\_Type@{\_Eina\_Value\_Type}}


API to access values.  




{\ttfamily \#include $<$eina\+\_\+value.\+h$>$}

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{struct__Eina__Value__Type_a143cc8c2d6a95e22cd9db84f4d965b40}\label{struct__Eina__Value__Type_a143cc8c2d6a95e22cd9db84f4d965b40}} 
unsigned int {\bfseries version}
\begin{DoxyCompactList}\small\item\em must be \mbox{\hyperlink{group__Eina__Value__Type__Group_ga16a703617b8fc48e3ee95663db7becb2}{EINA\+\_\+\+VALUE\+\_\+\+TYPE\+\_\+\+VERSION}} \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Eina__Value__Type_affba7af9a991458855e9c1bdd956210b}\label{struct__Eina__Value__Type_affba7af9a991458855e9c1bdd956210b}} 
unsigned int {\bfseries value\+\_\+size}
\begin{DoxyCompactList}\small\item\em byte size of value \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Eina__Value__Type_ada10b4da2ce18ea23e10dc048f470af0}\label{struct__Eina__Value__Type_ada10b4da2ce18ea23e10dc048f470af0}} 
const char $\ast$ {\bfseries name}
\begin{DoxyCompactList}\small\item\em name for debug and introspection \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Eina__Value__Type_a4cb3fa21af5c90df31ee43e105ea797c}\label{struct__Eina__Value__Type_a4cb3fa21af5c90df31ee43e105ea797c}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ {\bfseries setup} )(const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$type, void $\ast$mem)
\begin{DoxyCompactList}\small\item\em mem will be malloc(value\+\_\+size) and should be configured \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Eina__Value__Type_aceb4743790841d0abdea312eec07bd97}\label{struct__Eina__Value__Type_aceb4743790841d0abdea312eec07bd97}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ {\bfseries flush} )(const \mbox{\hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type}} $\ast$type, void $\ast$mem)
\begin{DoxyCompactList}\small\item\em clear any values from mem \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Eina__Value__Type_a5536cb7193f0bb8457080d3f61f21ba2}\label{struct__Eina__Value__Type_a5536cb7193f0bb8457080d3f61f21ba2}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ {\bfseries 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 how to copy values, both memory are {\ttfamily value\+\_\+size} \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Eina__Value__Type_a03b29253e2b2d9857644f19c7aeabb72}\label{struct__Eina__Value__Type_a03b29253e2b2d9857644f19c7aeabb72}} 
int($\ast$ {\bfseries 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 how to compare values, both memory are {\ttfamily value\+\_\+size} \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Eina__Value__Type_a221a8cefd8e60338e4b29522590f08d3}\label{struct__Eina__Value__Type_a221a8cefd8e60338e4b29522590f08d3}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ {\bfseries 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 how to convert values, both memory are {\ttfamily value\+\_\+size} \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Eina__Value__Type_aba1a36fc853a104df8dc458306e3d844}\label{struct__Eina__Value__Type_aba1a36fc853a104df8dc458306e3d844}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ {\bfseries 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 how to convert values, both memory are {\ttfamily value\+\_\+size} \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Eina__Value__Type_ade03a23198097f59665bc958095010fa}\label{struct__Eina__Value__Type_ade03a23198097f59665bc958095010fa}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ {\bfseries 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 how to set memory from variable argument \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Eina__Value__Type_a90b1c08b075aeaa6f0347634dcd92b6c}\label{struct__Eina__Value__Type_a90b1c08b075aeaa6f0347634dcd92b6c}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ {\bfseries 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 how to set memory from pointer \end{DoxyCompactList}\item 
\mbox{\Hypertarget{struct__Eina__Value__Type_a00636d85a51a5044b811c3784c832411}\label{struct__Eina__Value__Type_a00636d85a51a5044b811c3784c832411}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ {\bfseries 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 how to read memory \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
API to access values. 

\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}
