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


API to access values.  




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

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