\hypertarget{struct__Eina__Value__Type}{\section{\+\_\+\+Eina\+\_\+\+Value\+\_\+\+Type Struct Reference}
\label{struct__Eina__Value__Type}\index{\+\_\+\+Eina\+\_\+\+Value\+\_\+\+Type@{\+\_\+\+Eina\+\_\+\+Value\+\_\+\+Type}}
}


A\+P\+I to access values.  


\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hypertarget{struct__Eina__Value__Type_a143cc8c2d6a95e22cd9db84f4d965b40}{unsigned int \hyperlink{struct__Eina__Value__Type_a143cc8c2d6a95e22cd9db84f4d965b40}{version}}\label{struct__Eina__Value__Type_a143cc8c2d6a95e22cd9db84f4d965b40}

\begin{DoxyCompactList}\small\item\em must be \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\+O\+N} \end{DoxyCompactList}\item 
\hypertarget{struct__Eina__Value__Type_affba7af9a991458855e9c1bdd956210b}{unsigned int \hyperlink{struct__Eina__Value__Type_affba7af9a991458855e9c1bdd956210b}{value\+\_\+size}}\label{struct__Eina__Value__Type_affba7af9a991458855e9c1bdd956210b}

\begin{DoxyCompactList}\small\item\em byte size of value \end{DoxyCompactList}\item 
\hypertarget{struct__Eina__Value__Type_ada10b4da2ce18ea23e10dc048f470af0}{const char $\ast$ \hyperlink{struct__Eina__Value__Type_ada10b4da2ce18ea23e10dc048f470af0}{name}}\label{struct__Eina__Value__Type_ada10b4da2ce18ea23e10dc048f470af0}

\begin{DoxyCompactList}\small\item\em name for debug and introspection \end{DoxyCompactList}\item 
\hypertarget{struct__Eina__Value__Type_a019290efe62c76901b68c5138cd46f5e}{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}($\ast$ \hyperlink{struct__Eina__Value__Type_a019290efe62c76901b68c5138cd46f5e}{setup} )(const \hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type} $\ast$type, void $\ast$mem)}\label{struct__Eina__Value__Type_a019290efe62c76901b68c5138cd46f5e}

\begin{DoxyCompactList}\small\item\em mem will be malloc(value\+\_\+size) and should be configured \end{DoxyCompactList}\item 
\hypertarget{struct__Eina__Value__Type_a68570edfbb026c741c026b04bed44420}{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}($\ast$ \hyperlink{struct__Eina__Value__Type_a68570edfbb026c741c026b04bed44420}{flush} )(const \hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type} $\ast$type, void $\ast$mem)}\label{struct__Eina__Value__Type_a68570edfbb026c741c026b04bed44420}

\begin{DoxyCompactList}\small\item\em clear any values from mem \end{DoxyCompactList}\item 
\hypertarget{struct__Eina__Value__Type_a3a10f3560bd2ea6099d31253286b4ecb}{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}($\ast$ \hyperlink{struct__Eina__Value__Type_a3a10f3560bd2ea6099d31253286b4ecb}{copy} )(const \hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type} $\ast$type, const void $\ast$src, void $\ast$dst)}\label{struct__Eina__Value__Type_a3a10f3560bd2ea6099d31253286b4ecb}

\begin{DoxyCompactList}\small\item\em how to copy values, both memory are {\ttfamily value\+\_\+size} \end{DoxyCompactList}\item 
\hypertarget{struct__Eina__Value__Type_a84eea2904f59198c00ba19ee630ea384}{int($\ast$ \hyperlink{struct__Eina__Value__Type_a84eea2904f59198c00ba19ee630ea384}{compare} )(const \hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type} $\ast$type, const void $\ast$a, const void $\ast$b)}\label{struct__Eina__Value__Type_a84eea2904f59198c00ba19ee630ea384}

\begin{DoxyCompactList}\small\item\em how to compare values, both memory are {\ttfamily value\+\_\+size} \end{DoxyCompactList}\item 
\hypertarget{struct__Eina__Value__Type_a4851929d3ab0ef9ea0bc4a6d7df2e394}{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}($\ast$ \hyperlink{struct__Eina__Value__Type_a4851929d3ab0ef9ea0bc4a6d7df2e394}{convert\+\_\+to} )(const \hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type} $\ast$type, const \hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type} $\ast$convert, const void $\ast$type\+\_\+mem, void $\ast$convert\+\_\+mem)}\label{struct__Eina__Value__Type_a4851929d3ab0ef9ea0bc4a6d7df2e394}

\begin{DoxyCompactList}\small\item\em how to convert values, both memory are {\ttfamily value\+\_\+size} \end{DoxyCompactList}\item 
\hypertarget{struct__Eina__Value__Type_a2939806b2b916b5de0623afb0edfeb81}{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}($\ast$ \hyperlink{struct__Eina__Value__Type_a2939806b2b916b5de0623afb0edfeb81}{convert\+\_\+from} )(const \hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type} $\ast$type, const \hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type} $\ast$convert, void $\ast$type\+\_\+mem, const void $\ast$convert\+\_\+mem)}\label{struct__Eina__Value__Type_a2939806b2b916b5de0623afb0edfeb81}

\begin{DoxyCompactList}\small\item\em how to convert values, both memory are {\ttfamily value\+\_\+size} \end{DoxyCompactList}\item 
\hypertarget{struct__Eina__Value__Type_a11284e9ecd418739f8ddb9ba5afeb2f8}{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}($\ast$ \hyperlink{struct__Eina__Value__Type_a11284e9ecd418739f8ddb9ba5afeb2f8}{vset} )(const \hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type} $\ast$type, void $\ast$mem, va\+\_\+list args)}\label{struct__Eina__Value__Type_a11284e9ecd418739f8ddb9ba5afeb2f8}

\begin{DoxyCompactList}\small\item\em how to set memory from variable argument \end{DoxyCompactList}\item 
\hypertarget{struct__Eina__Value__Type_a1e6821ff7fef4ba94c30bea149517fa6}{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}($\ast$ \hyperlink{struct__Eina__Value__Type_a1e6821ff7fef4ba94c30bea149517fa6}{pset} )(const \hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type} $\ast$type, void $\ast$mem, const void $\ast$ptr)}\label{struct__Eina__Value__Type_a1e6821ff7fef4ba94c30bea149517fa6}

\begin{DoxyCompactList}\small\item\em how to set memory from pointer \end{DoxyCompactList}\item 
\hypertarget{struct__Eina__Value__Type_a45185cacecb4563a75a11bb7fba66dc1}{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}($\ast$ \hyperlink{struct__Eina__Value__Type_a45185cacecb4563a75a11bb7fba66dc1}{pget} )(const \hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\+\_\+\+Value\+\_\+\+Type} $\ast$type, const void $\ast$mem, void $\ast$ptr)}\label{struct__Eina__Value__Type_a45185cacecb4563a75a11bb7fba66dc1}

\begin{DoxyCompactList}\small\item\em how to read memory \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
A\+P\+I to access values. 

\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{eina_value_03_8c-example}{eina\+\_\+value\+\_\+03.\+c}.\end{Desc}
