\hypertarget{group__Eina__Value__Array__Group}{\section{Generic Value Array management}
\label{group__Eina__Value__Array__Group}\index{Generic Value Array management@{Generic Value Array management}}
}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{struct__Eina__Value__Array}{\-\_\-\-Eina\-\_\-\-Value\-\_\-\-Array}
\begin{DoxyCompactList}\small\item\em Used to store the array and its subtype. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \hyperlink{struct__Eina__Value__Array}{\-\_\-\-Eina\-\_\-\-Value\-\_\-\-Array} \hyperlink{group__Eina__Value__Array__Group_gaf031f54b3d2530ec31b5cd73a5b08fc2}{Eina\-\_\-\-Value\-\_\-\-Array}
\begin{DoxyCompactList}\small\item\em Value type for \hyperlink{group__Eina__Value__Group_ga54ae8736387dd3da85568451ac6821ba}{E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-A\-R\-R\-A\-Y}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\-\_\-\-Value} $\ast$ \hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\-\_\-value\-\_\-array\-\_\-new} (const \hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\-\_\-\-Value\-\_\-\-Type} $\ast$subtype, unsigned int step)
\begin{DoxyCompactList}\small\item\em Create generic value storage of type array. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} \hyperlink{group__Eina__Value__Array__Group_gad578acc62fe26443d291ec8d72676a23}{eina\-\_\-value\-\_\-array\-\_\-setup} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\-\_\-\-Value} $\ast$value, const \hyperlink{group__Eina__Value__Group_gaab67ab8bcd0624280c5276044b07e0d2}{Eina\-\_\-\-Value\-\_\-\-Type} $\ast$subtype, unsigned int step)
\begin{DoxyCompactList}\small\item\em Initialize generic value storage of type array. \end{DoxyCompactList}\item 
static unsigned int \hyperlink{group__Eina__Value__Array__Group_ga758e2a63aa537f872bdbd07b87ea6115}{eina\-\_\-value\-\_\-array\-\_\-count} (const \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\-\_\-\-Value} $\ast$value)
\begin{DoxyCompactList}\small\item\em Query number of elements in value of array type. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} \hyperlink{group__Eina__Value__Array__Group_gad8c7d4de16283d1a81bb3ce9bb12611a}{eina\-\_\-value\-\_\-array\-\_\-remove} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\-\_\-\-Value} $\ast$value, unsigned int position)
\begin{DoxyCompactList}\small\item\em Remove element at given position in value of array type. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} \hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\-\_\-value\-\_\-array\-\_\-set} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\-\_\-\-Value} $\ast$value, unsigned int position,...)
\begin{DoxyCompactList}\small\item\em Set the generic value in an array member. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} \hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\-\_\-value\-\_\-array\-\_\-get} (const \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\-\_\-\-Value} $\ast$value, unsigned int position,...)
\begin{DoxyCompactList}\small\item\em Get the generic value from an array member. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} \hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\-\_\-value\-\_\-array\-\_\-insert} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\-\_\-\-Value} $\ast$value, unsigned int position,...)
\begin{DoxyCompactList}\small\item\em Insert a generic value in an array member position. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} \hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\-\_\-value\-\_\-array\-\_\-append} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\-\_\-\-Value} $\ast$value,...)
\begin{DoxyCompactList}\small\item\em Append a generic value in an array. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} \hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\-\_\-value\-\_\-array\-\_\-vset} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\-\_\-\-Value} $\ast$value, unsigned int position, va\-\_\-list args)
\begin{DoxyCompactList}\small\item\em Set a generic value to an array member. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} \hyperlink{group__Eina__Value__Array__Group_ga71628a82af073c59a241cf8c93c95d5d}{eina\-\_\-value\-\_\-array\-\_\-vget} (const \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\-\_\-\-Value} $\ast$value, unsigned int position, va\-\_\-list args)
\begin{DoxyCompactList}\small\item\em Get the generic value from an array member. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} \hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\-\_\-value\-\_\-array\-\_\-vinsert} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\-\_\-\-Value} $\ast$value, unsigned int position, va\-\_\-list args)
\begin{DoxyCompactList}\small\item\em Insert a generic value to an array member position. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} \hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\-\_\-value\-\_\-array\-\_\-vappend} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\-\_\-\-Value} $\ast$value, va\-\_\-list args)
\begin{DoxyCompactList}\small\item\em Append a generic value to an array. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} \hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\-\_\-value\-\_\-array\-\_\-pset} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\-\_\-\-Value} $\ast$value, unsigned int position, const void $\ast$ptr)
\begin{DoxyCompactList}\small\item\em Set a generic value to an array member from a pointer. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} \hyperlink{group__Eina__Value__Array__Group_ga6e938fbe973b5a5603d769798a0eb755}{eina\-\_\-value\-\_\-array\-\_\-pget} (const \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\-\_\-\-Value} $\ast$value, unsigned int position, void $\ast$ptr)
\begin{DoxyCompactList}\small\item\em Retrieve a generic value into a pointer from an array member. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} \hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\-\_\-value\-\_\-array\-\_\-pinsert} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\-\_\-\-Value} $\ast$value, unsigned int position, const void $\ast$ptr)
\begin{DoxyCompactList}\small\item\em Insert a generic value to an array member position from a pointer. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} \hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\-\_\-value\-\_\-array\-\_\-pappend} (\hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\-\_\-\-Value} $\ast$value, const void $\ast$ptr)
\begin{DoxyCompactList}\small\item\em Append a generic value to an array from a pointer. \end{DoxyCompactList}\item 
static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} \hyperlink{group__Eina__Value__Array__Group_ga5220dd928cb280b9d20ae9221da44aa2}{eina\-\_\-value\-\_\-array\-\_\-value\-\_\-get} (const \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\-\_\-\-Value} $\ast$src, unsigned int position, \hyperlink{group__Eina__Value__Group_ga7985e8af6e956ae31b381bf829173cc0}{Eina\-\_\-\-Value} $\ast$dst)
\begin{DoxyCompactList}\small\item\em Retrieves a value from the array as an Eina\-\_\-\-Value copy. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}


\subsection{Typedef Documentation}
\hypertarget{group__Eina__Value__Array__Group_gaf031f54b3d2530ec31b5cd73a5b08fc2}{\index{Generic Value Array management@{Generic Value Array management}!Eina\-\_\-\-Value\-\_\-\-Array@{Eina\-\_\-\-Value\-\_\-\-Array}}
\index{Eina\-\_\-\-Value\-\_\-\-Array@{Eina\-\_\-\-Value\-\_\-\-Array}!Generic Value Array management@{Generic Value Array management}}
\subsubsection[{Eina\-\_\-\-Value\-\_\-\-Array}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\-\_\-\-Value\-\_\-\-Array}}}\label{group__Eina__Value__Array__Group_gaf031f54b3d2530ec31b5cd73a5b08fc2}


Value type for \hyperlink{group__Eina__Value__Group_ga54ae8736387dd3da85568451ac6821ba}{E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-A\-R\-R\-A\-Y}. 

\begin{DoxySeeAlso}{See Also}
\hyperlink{struct__Eina__Value__Array}{\-\_\-\-Eina\-\_\-\-Value\-\_\-\-Array} explains fields. 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}
\begin{Desc}
\item[Examples\-: ]\par
\hyperlink{complex-types-client-eina-value_8c-example}{complex-\/types-\/client-\/eina-\/value.\-c}.\end{Desc}


\subsection{Function Documentation}
\hypertarget{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{\index{Generic Value Array management@{Generic Value Array management}!eina\-\_\-value\-\_\-array\-\_\-new@{eina\-\_\-value\-\_\-array\-\_\-new}}
\index{eina\-\_\-value\-\_\-array\-\_\-new@{eina\-\_\-value\-\_\-array\-\_\-new}!Generic Value Array management@{Generic Value Array management}}
\subsubsection[{eina\-\_\-value\-\_\-array\-\_\-new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\-\_\-\-Value}$\ast$ eina\-\_\-value\-\_\-array\-\_\-new (
\begin{DoxyParamCaption}
\item[{const {\bf Eina\-\_\-\-Value\-\_\-\-Type} $\ast$}]{subtype, }
\item[{unsigned int}]{step}
\end{DoxyParamCaption}
)}}\label{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}


Create generic value storage of type array. 


\begin{DoxyParams}{Parameters}
{\em subtype} & how to manage this array members. \\
\hline
{\em step} & how to grow the members array. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new value or {\ttfamily N\-U\-L\-L} on failure.
\end{DoxyReturn}
Create a new generic value storage of type array. The members are managed using the description specified by {\itshape subtype}.

On failure, {\ttfamily N\-U\-L\-L} is returned.

\begin{DoxyNote}{Note}
this creates from mempool and then uses \hyperlink{group__Eina__Value__Array__Group_gad578acc62fe26443d291ec8d72676a23}{eina\-\_\-value\-\_\-array\-\_\-setup()}. 
\end{DoxyNote}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\-\_\-value\-\_\-free()} 

\hyperlink{group__Eina__Value__Array__Group_gad578acc62fe26443d291ec8d72676a23}{eina\-\_\-value\-\_\-array\-\_\-setup()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}


References E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E, eina\-\_\-mempool\-\_\-free(), eina\-\_\-mempool\-\_\-malloc(), eina\-\_\-value\-\_\-array\-\_\-setup(), and eina\-\_\-value\-\_\-type\-\_\-check().

\hypertarget{group__Eina__Value__Array__Group_gad578acc62fe26443d291ec8d72676a23}{\index{Generic Value Array management@{Generic Value Array management}!eina\-\_\-value\-\_\-array\-\_\-setup@{eina\-\_\-value\-\_\-array\-\_\-setup}}
\index{eina\-\_\-value\-\_\-array\-\_\-setup@{eina\-\_\-value\-\_\-array\-\_\-setup}!Generic Value Array management@{Generic Value Array management}}
\subsubsection[{eina\-\_\-value\-\_\-array\-\_\-setup}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\-\_\-\-Bool} eina\-\_\-value\-\_\-array\-\_\-setup (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Value} $\ast$}]{value, }
\item[{const {\bf Eina\-\_\-\-Value\-\_\-\-Type} $\ast$}]{subtype, }
\item[{unsigned int}]{step}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__Array__Group_gad578acc62fe26443d291ec8d72676a23}


Initialize generic value storage of type array. 


\begin{DoxyParams}{Parameters}
{\em value} & value object \\
\hline
{\em subtype} & how to manage array members. \\
\hline
{\em step} & how to grow the members array. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\-I\-N\-A\-\_\-\-T\-R\-U\-E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} otherwise.
\end{DoxyReturn}
Initializes new generic value storage of type array with the given {\itshape subtype}.

This is the same as calling \hyperlink{group__Eina__Value__Value__Group_ga9a1407c953694c3d6f40ab01ebe9a294}{eina\-\_\-value\-\_\-set()} with \hyperlink{group__Eina__Value__Group_ga54ae8736387dd3da85568451ac6821ba}{E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-A\-R\-R\-A\-Y} followed by \hyperlink{group__Eina__Value__Value__Group_ga60352abff8ce5f9cdfc870ba9cf2f28e}{eina\-\_\-value\-\_\-pset()} with the \hyperlink{group__Eina__Value__Array__Group_gaf031f54b3d2530ec31b5cd73a5b08fc2}{Eina\-\_\-\-Value\-\_\-\-Array} description configured.

\begin{DoxyNote}{Note}
Existing contents are ignored! If the value was previously used, then use \hyperlink{group__Eina__Value__Value__Group_ga940660709a2862bafac92f47bb721a68}{eina\-\_\-value\-\_\-flush()} first.
\end{DoxyNote}
On failure, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} is returned.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Eina__Value__Value__Group_ga940660709a2862bafac92f47bb721a68}{eina\-\_\-value\-\_\-flush()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}


Referenced by eina\-\_\-value\-\_\-array\-\_\-new().

\hypertarget{group__Eina__Value__Array__Group_ga758e2a63aa537f872bdbd07b87ea6115}{\index{Generic Value Array management@{Generic Value Array management}!eina\-\_\-value\-\_\-array\-\_\-count@{eina\-\_\-value\-\_\-array\-\_\-count}}
\index{eina\-\_\-value\-\_\-array\-\_\-count@{eina\-\_\-value\-\_\-array\-\_\-count}!Generic Value Array management@{Generic Value Array management}}
\subsubsection[{eina\-\_\-value\-\_\-array\-\_\-count}]{\setlength{\rightskip}{0pt plus 5cm}static unsigned int eina\-\_\-value\-\_\-array\-\_\-count (
\begin{DoxyParamCaption}
\item[{const {\bf Eina\-\_\-\-Value} $\ast$}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__Array__Group_ga758e2a63aa537f872bdbd07b87ea6115}


Query number of elements in value of array type. 


\begin{DoxyParams}{Parameters}
{\em value} & value object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
number of child elements. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}
\begin{Desc}
\item[Examples\-: ]\par
\hyperlink{complex-types-client-eina-value_8c-example}{complex-\/types-\/client-\/eina-\/value.\-c}.\end{Desc}
\hypertarget{group__Eina__Value__Array__Group_gad8c7d4de16283d1a81bb3ce9bb12611a}{\index{Generic Value Array management@{Generic Value Array management}!eina\-\_\-value\-\_\-array\-\_\-remove@{eina\-\_\-value\-\_\-array\-\_\-remove}}
\index{eina\-\_\-value\-\_\-array\-\_\-remove@{eina\-\_\-value\-\_\-array\-\_\-remove}!Generic Value Array management@{Generic Value Array management}}
\subsubsection[{eina\-\_\-value\-\_\-array\-\_\-remove}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\-\_\-\-Bool} eina\-\_\-value\-\_\-array\-\_\-remove (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Value} $\ast$}]{value, }
\item[{unsigned int}]{position}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__Array__Group_gad8c7d4de16283d1a81bb3ce9bb12611a}


Remove element at given position in value of array type. 


\begin{DoxyParams}{Parameters}
{\em value} & value object. \\
\hline
{\em position} & index of the member \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\-I\-N\-A\-\_\-\-T\-R\-U\-E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} otherwise. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}
\hypertarget{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{\index{Generic Value Array management@{Generic Value Array management}!eina\-\_\-value\-\_\-array\-\_\-set@{eina\-\_\-value\-\_\-array\-\_\-set}}
\index{eina\-\_\-value\-\_\-array\-\_\-set@{eina\-\_\-value\-\_\-array\-\_\-set}!Generic Value Array management@{Generic Value Array management}}
\subsubsection[{eina\-\_\-value\-\_\-array\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\-\_\-\-Bool} eina\-\_\-value\-\_\-array\-\_\-set (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Value} $\ast$}]{value, }
\item[{unsigned int}]{position, }
\item[{}]{...}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}


Set the generic value in an array member. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\-I\-N\-A\-\_\-\-T\-R\-U\-E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} otherwise.
\end{DoxyReturn}
The variable argument is dependent on chosen subtype. The list for basic types\-:

\begin{DoxyItemize}
\item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-C\-H\-A\-R\-: unsigned char \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-S\-H\-O\-R\-T\-: unsigned short \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-I\-N\-T\-: unsigned int \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-L\-O\-N\-G\-: unsigned long \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-I\-N\-T64\-: uint64\-\_\-t \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-C\-H\-A\-R\-: char \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-H\-O\-R\-T\-: short \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-I\-N\-T\-: int \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-L\-O\-N\-G\-: long \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-I\-N\-T64\-: int64\-\_\-t \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-F\-L\-O\-A\-T\-: float \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-D\-O\-U\-B\-L\-E\-: double \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-T\-R\-I\-N\-G\-S\-H\-A\-R\-E\-: const char $\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-T\-R\-I\-N\-G\-: const char $\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-A\-R\-R\-A\-Y\-: Eina\-\_\-\-Value\-\_\-\-Array \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-L\-I\-S\-T\-: Eina\-\_\-\-Value\-\_\-\-List \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-H\-A\-S\-H\-: Eina\-\_\-\-Value\-\_\-\-Hash \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-T\-I\-M\-E\-V\-A\-L\-: struct timeval \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-B\-L\-O\-B\-: Eina\-\_\-\-Value\-\_\-\-Blob \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-T\-R\-U\-C\-T\-: Eina\-\_\-\-Value\-\_\-\-Struct\end{DoxyItemize}

\begin{DoxyCode}
\hyperlink{struct__Eina__Value}{Eina\_Value} *value = \hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\_value\_array\_new}(
      \hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}, 0);
\textcolor{keywordtype}{int} x;

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\_value\_array\_append}(value, 1234);
\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\_value\_array\_set}(value, 0, 5678);
\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\_value\_array\_get}(value, 0, &x);
\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\_value\_free}(value);
\end{DoxyCode}


\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\-\_\-value\-\_\-array\-\_\-get()} 

\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\-\_\-value\-\_\-array\-\_\-vset()} 

\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\-\_\-value\-\_\-array\-\_\-pset()} 

\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\-\_\-value\-\_\-array\-\_\-insert()} 

\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\-\_\-value\-\_\-array\-\_\-vinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\-\_\-value\-\_\-array\-\_\-pinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\-\_\-value\-\_\-array\-\_\-append()} 

\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\-\_\-value\-\_\-array\-\_\-vappend()} 

\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\-\_\-value\-\_\-array\-\_\-pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}
\hypertarget{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{\index{Generic Value Array management@{Generic Value Array management}!eina\-\_\-value\-\_\-array\-\_\-get@{eina\-\_\-value\-\_\-array\-\_\-get}}
\index{eina\-\_\-value\-\_\-array\-\_\-get@{eina\-\_\-value\-\_\-array\-\_\-get}!Generic Value Array management@{Generic Value Array management}}
\subsubsection[{eina\-\_\-value\-\_\-array\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\-\_\-\-Bool} eina\-\_\-value\-\_\-array\-\_\-get (
\begin{DoxyParamCaption}
\item[{const {\bf Eina\-\_\-\-Value} $\ast$}]{value, }
\item[{unsigned int}]{position, }
\item[{}]{...}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}


Get the generic value from an array member. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\-I\-N\-A\-\_\-\-T\-R\-U\-E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} otherwise.
\end{DoxyReturn}
The value is returned in the variable argument parameter, and the actual value is type-\/dependent, but usually it will be what is stored inside the object. There shouldn't be any memory allocation; thus the contents should {\bfseries not} be freed.

The variable argument is dependent on chosen subtype. The list for basic types\-:

\begin{DoxyItemize}
\item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-C\-H\-A\-R\-: unsigned char$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-S\-H\-O\-R\-T\-: unsigned short$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-I\-N\-T\-: unsigned int$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-L\-O\-N\-G\-: unsigned long$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-I\-N\-T64\-: uint64\-\_\-t$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-C\-H\-A\-R\-: char$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-H\-O\-R\-T\-: short$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-I\-N\-T\-: int$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-L\-O\-N\-G\-: long$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-I\-N\-T64\-: int64\-\_\-t$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-F\-L\-O\-A\-T\-: float$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-D\-O\-U\-B\-L\-E\-: double$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-T\-R\-I\-N\-G\-S\-H\-A\-R\-E\-: const char $\ast$$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-T\-R\-I\-N\-G\-: const char $\ast$$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-A\-R\-R\-A\-Y\-: Eina\-\_\-\-Value\-\_\-\-Array$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-L\-I\-S\-T\-: Eina\-\_\-\-Value\-\_\-\-List$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-H\-A\-S\-H\-: Eina\-\_\-\-Value\-\_\-\-Hash$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-T\-I\-M\-E\-V\-A\-L\-: struct timeval$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-B\-L\-O\-B\-: Eina\-\_\-\-Value\-\_\-\-Blob$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-T\-R\-U\-C\-T\-: Eina\-\_\-\-Value\-\_\-\-Struct$\ast$\end{DoxyItemize}

\begin{DoxyCode}
\hyperlink{struct__Eina__Value}{Eina\_Value} *value = \hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\_value\_array\_new}(
      \hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}, 0);
\textcolor{keywordtype}{int} x;

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\_value\_array\_append}(value, 1234);
\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\_value\_array\_get}(value, 0, &x);
\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\_value\_free}(value);
\end{DoxyCode}


\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\-\_\-value\-\_\-array\-\_\-set()} 

\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\-\_\-value\-\_\-array\-\_\-vset()} 

\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\-\_\-value\-\_\-array\-\_\-pset()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}
\begin{Desc}
\item[Examples\-: ]\par
\hyperlink{complex-types-client-eina-value_8c-example}{complex-\/types-\/client-\/eina-\/value.\-c}.\end{Desc}
\hypertarget{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{\index{Generic Value Array management@{Generic Value Array management}!eina\-\_\-value\-\_\-array\-\_\-insert@{eina\-\_\-value\-\_\-array\-\_\-insert}}
\index{eina\-\_\-value\-\_\-array\-\_\-insert@{eina\-\_\-value\-\_\-array\-\_\-insert}!Generic Value Array management@{Generic Value Array management}}
\subsubsection[{eina\-\_\-value\-\_\-array\-\_\-insert}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\-\_\-\-Bool} eina\-\_\-value\-\_\-array\-\_\-insert (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Value} $\ast$}]{value, }
\item[{unsigned int}]{position, }
\item[{}]{...}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}


Insert a generic value in an array member position. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\-I\-N\-A\-\_\-\-T\-R\-U\-E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} otherwise.
\end{DoxyReturn}
The variable argument is dependent on chosen subtype. The list for basic types\-:

\begin{DoxyItemize}
\item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-C\-H\-A\-R\-: unsigned char \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-S\-H\-O\-R\-T\-: unsigned short \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-I\-N\-T\-: unsigned int \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-L\-O\-N\-G\-: unsigned long \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-I\-N\-T64\-: uint64\-\_\-t \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-C\-H\-A\-R\-: char \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-H\-O\-R\-T\-: short \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-I\-N\-T\-: int \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-L\-O\-N\-G\-: long \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-I\-N\-T64\-: int64\-\_\-t \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-F\-L\-O\-A\-T\-: float \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-D\-O\-U\-B\-L\-E\-: double \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-T\-R\-I\-N\-G\-S\-H\-A\-R\-E\-: const char $\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-T\-R\-I\-N\-G\-: const char $\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-A\-R\-R\-A\-Y\-: Eina\-\_\-\-Value\-\_\-\-Array \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-L\-I\-S\-T\-: Eina\-\_\-\-Value\-\_\-\-List \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-H\-A\-S\-H\-: Eina\-\_\-\-Value\-\_\-\-Hash \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-T\-I\-M\-E\-V\-A\-L\-: struct timeval \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-B\-L\-O\-B\-: Eina\-\_\-\-Value\-\_\-\-Blob \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-T\-R\-U\-C\-T\-: Eina\-\_\-\-Value\-\_\-\-Struct\end{DoxyItemize}

\begin{DoxyCode}
\hyperlink{struct__Eina__Value}{Eina\_Value} *value = \hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\_value\_array\_new}(
      \hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}, 0);
\textcolor{keywordtype}{int} x;

\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\_value\_array\_insert}(value, 0, 1234);
\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\_value\_array\_get}(value, 0, &x);
\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\_value\_free}(value);
\end{DoxyCode}


\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\-\_\-value\-\_\-array\-\_\-set()} 

\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\-\_\-value\-\_\-array\-\_\-get()} 

\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\-\_\-value\-\_\-array\-\_\-vset()} 

\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\-\_\-value\-\_\-array\-\_\-pset()} 

\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\-\_\-value\-\_\-array\-\_\-vinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\-\_\-value\-\_\-array\-\_\-pinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\-\_\-value\-\_\-array\-\_\-append()} 

\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\-\_\-value\-\_\-array\-\_\-vappend()} 

\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\-\_\-value\-\_\-array\-\_\-pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}
\hypertarget{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{\index{Generic Value Array management@{Generic Value Array management}!eina\-\_\-value\-\_\-array\-\_\-append@{eina\-\_\-value\-\_\-array\-\_\-append}}
\index{eina\-\_\-value\-\_\-array\-\_\-append@{eina\-\_\-value\-\_\-array\-\_\-append}!Generic Value Array management@{Generic Value Array management}}
\subsubsection[{eina\-\_\-value\-\_\-array\-\_\-append}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\-\_\-\-Bool} eina\-\_\-value\-\_\-array\-\_\-append (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Value} $\ast$}]{value, }
\item[{}]{...}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}


Append a generic value in an array. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\-I\-N\-A\-\_\-\-T\-R\-U\-E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} otherwise.
\end{DoxyReturn}
The variable argument is dependent on chosen subtype. The list for basic types\-:

\begin{DoxyItemize}
\item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-C\-H\-A\-R\-: unsigned char \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-S\-H\-O\-R\-T\-: unsigned short \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-I\-N\-T\-: unsigned int \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-L\-O\-N\-G\-: unsigned long \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-I\-N\-T64\-: uint64\-\_\-t \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-C\-H\-A\-R\-: char \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-H\-O\-R\-T\-: short \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-I\-N\-T\-: int \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-L\-O\-N\-G\-: long \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-I\-N\-T64\-: int64\-\_\-t \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-F\-L\-O\-A\-T\-: float \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-D\-O\-U\-B\-L\-E\-: double \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-T\-R\-I\-N\-G\-S\-H\-A\-R\-E\-: const char $\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-T\-R\-I\-N\-G\-: const char $\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-A\-R\-R\-A\-Y\-: Eina\-\_\-\-Value\-\_\-\-Array \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-L\-I\-S\-T\-: Eina\-\_\-\-Value\-\_\-\-List \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-H\-A\-S\-H\-: Eina\-\_\-\-Value\-\_\-\-Hash \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-T\-I\-M\-E\-V\-A\-L\-: struct timeval \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-B\-L\-O\-B\-: Eina\-\_\-\-Value\-\_\-\-Blob \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-T\-R\-U\-C\-T\-: Eina\-\_\-\-Value\-\_\-\-Struct\end{DoxyItemize}

\begin{DoxyCode}
\hyperlink{struct__Eina__Value}{Eina\_Value} *value = \hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\_value\_array\_new}(
      \hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}, 0);
\textcolor{keywordtype}{int} x;

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\_value\_array\_append}(value, 1234);
\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\_value\_array\_get}(value, 0, &x);
\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\_value\_free}(value);
\end{DoxyCode}


\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\-\_\-value\-\_\-array\-\_\-set()} 

\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\-\_\-value\-\_\-array\-\_\-get()} 

\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\-\_\-value\-\_\-array\-\_\-vset()} 

\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\-\_\-value\-\_\-array\-\_\-pset()} 

\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\-\_\-value\-\_\-array\-\_\-vinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\-\_\-value\-\_\-array\-\_\-pinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\-\_\-value\-\_\-array\-\_\-append()} 

\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\-\_\-value\-\_\-array\-\_\-vappend()} 

\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\-\_\-value\-\_\-array\-\_\-pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}
\begin{Desc}
\item[Examples\-: ]\par
\hyperlink{complex-types-client-eina-value_8c-example}{complex-\/types-\/client-\/eina-\/value.\-c}.\end{Desc}
\hypertarget{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{\index{Generic Value Array management@{Generic Value Array management}!eina\-\_\-value\-\_\-array\-\_\-vset@{eina\-\_\-value\-\_\-array\-\_\-vset}}
\index{eina\-\_\-value\-\_\-array\-\_\-vset@{eina\-\_\-value\-\_\-array\-\_\-vset}!Generic Value Array management@{Generic Value Array management}}
\subsubsection[{eina\-\_\-value\-\_\-array\-\_\-vset}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\-\_\-\-Bool} eina\-\_\-value\-\_\-array\-\_\-vset (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Value} $\ast$}]{value, }
\item[{unsigned int}]{position, }
\item[{va\-\_\-list}]{args}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}


Set a generic value to an array member. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
{\em args} & variable argument \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\-I\-N\-A\-\_\-\-T\-R\-U\-E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} otherwise. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\-\_\-value\-\_\-array\-\_\-set()} 

\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\-\_\-value\-\_\-array\-\_\-get()} 

\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\-\_\-value\-\_\-array\-\_\-pset()} 

\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\-\_\-value\-\_\-array\-\_\-insert()} 

\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\-\_\-value\-\_\-array\-\_\-vinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\-\_\-value\-\_\-array\-\_\-pinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\-\_\-value\-\_\-array\-\_\-append()} 

\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\-\_\-value\-\_\-array\-\_\-vappend()} 

\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\-\_\-value\-\_\-array\-\_\-pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}
\hypertarget{group__Eina__Value__Array__Group_ga71628a82af073c59a241cf8c93c95d5d}{\index{Generic Value Array management@{Generic Value Array management}!eina\-\_\-value\-\_\-array\-\_\-vget@{eina\-\_\-value\-\_\-array\-\_\-vget}}
\index{eina\-\_\-value\-\_\-array\-\_\-vget@{eina\-\_\-value\-\_\-array\-\_\-vget}!Generic Value Array management@{Generic Value Array management}}
\subsubsection[{eina\-\_\-value\-\_\-array\-\_\-vget}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\-\_\-\-Bool} eina\-\_\-value\-\_\-array\-\_\-vget (
\begin{DoxyParamCaption}
\item[{const {\bf Eina\-\_\-\-Value} $\ast$}]{value, }
\item[{unsigned int}]{position, }
\item[{va\-\_\-list}]{args}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__Array__Group_ga71628a82af073c59a241cf8c93c95d5d}


Get the generic value from an array member. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
{\em args} & variable argument \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\-I\-N\-A\-\_\-\-T\-R\-U\-E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} otherwise.
\end{DoxyReturn}
The value is returned in the variable argument parameter, the actual value is type-\/dependent, but usually it will be what is stored inside the object. There shouldn't be any memory allocation, thus the contents should {\bfseries not} be freed.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\-\_\-value\-\_\-array\-\_\-vset()} 

\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\-\_\-value\-\_\-array\-\_\-get()} 

\hyperlink{group__Eina__Value__Array__Group_ga6e938fbe973b5a5603d769798a0eb755}{eina\-\_\-value\-\_\-array\-\_\-pget()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}
\hypertarget{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{\index{Generic Value Array management@{Generic Value Array management}!eina\-\_\-value\-\_\-array\-\_\-vinsert@{eina\-\_\-value\-\_\-array\-\_\-vinsert}}
\index{eina\-\_\-value\-\_\-array\-\_\-vinsert@{eina\-\_\-value\-\_\-array\-\_\-vinsert}!Generic Value Array management@{Generic Value Array management}}
\subsubsection[{eina\-\_\-value\-\_\-array\-\_\-vinsert}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\-\_\-\-Bool} eina\-\_\-value\-\_\-array\-\_\-vinsert (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Value} $\ast$}]{value, }
\item[{unsigned int}]{position, }
\item[{va\-\_\-list}]{args}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}


Insert a generic value to an array member position. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
{\em args} & variable argument \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\-I\-N\-A\-\_\-\-T\-R\-U\-E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} otherwise. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\-\_\-value\-\_\-array\-\_\-set()} 

\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\-\_\-value\-\_\-array\-\_\-get()} 

\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\-\_\-value\-\_\-array\-\_\-vset()} 

\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\-\_\-value\-\_\-array\-\_\-pset()} 

\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\-\_\-value\-\_\-array\-\_\-insert()} 

\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\-\_\-value\-\_\-array\-\_\-pinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\-\_\-value\-\_\-array\-\_\-append()} 

\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\-\_\-value\-\_\-array\-\_\-vappend()} 

\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\-\_\-value\-\_\-array\-\_\-pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}
\hypertarget{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{\index{Generic Value Array management@{Generic Value Array management}!eina\-\_\-value\-\_\-array\-\_\-vappend@{eina\-\_\-value\-\_\-array\-\_\-vappend}}
\index{eina\-\_\-value\-\_\-array\-\_\-vappend@{eina\-\_\-value\-\_\-array\-\_\-vappend}!Generic Value Array management@{Generic Value Array management}}
\subsubsection[{eina\-\_\-value\-\_\-array\-\_\-vappend}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\-\_\-\-Bool} eina\-\_\-value\-\_\-array\-\_\-vappend (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Value} $\ast$}]{value, }
\item[{va\-\_\-list}]{args}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}


Append a generic value to an array. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em args} & variable argument \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\-I\-N\-A\-\_\-\-T\-R\-U\-E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} otherwise. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\-\_\-value\-\_\-array\-\_\-set()} 

\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\-\_\-value\-\_\-array\-\_\-get()} 

\hyperlink{group__Eina__Value__Array__Group_ga71628a82af073c59a241cf8c93c95d5d}{eina\-\_\-value\-\_\-array\-\_\-vget()} 

\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\-\_\-value\-\_\-array\-\_\-pset()} 

\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\-\_\-value\-\_\-array\-\_\-insert()} 

\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\-\_\-value\-\_\-array\-\_\-vinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\-\_\-value\-\_\-array\-\_\-pinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\-\_\-value\-\_\-array\-\_\-append()} 

\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\-\_\-value\-\_\-array\-\_\-pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}
\hypertarget{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{\index{Generic Value Array management@{Generic Value Array management}!eina\-\_\-value\-\_\-array\-\_\-pset@{eina\-\_\-value\-\_\-array\-\_\-pset}}
\index{eina\-\_\-value\-\_\-array\-\_\-pset@{eina\-\_\-value\-\_\-array\-\_\-pset}!Generic Value Array management@{Generic Value Array management}}
\subsubsection[{eina\-\_\-value\-\_\-array\-\_\-pset}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\-\_\-\-Bool} eina\-\_\-value\-\_\-array\-\_\-pset (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Value} $\ast$}]{value, }
\item[{unsigned int}]{position, }
\item[{const void $\ast$}]{ptr}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}


Set a generic value to an array member from a pointer. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
{\em ptr} & pointer to specify the contents. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\-I\-N\-A\-\_\-\-T\-R\-U\-E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} otherwise.
\end{DoxyReturn}
The pointer type is dependent on chosen value type. The list for basic types\-:

\begin{DoxyItemize}
\item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-C\-H\-A\-R\-: unsigned char$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-S\-H\-O\-R\-T\-: unsigned short$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-I\-N\-T\-: unsigned int$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-L\-O\-N\-G\-: unsigned long$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-I\-N\-T64\-: uint64\-\_\-t$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-C\-H\-A\-R\-: char$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-H\-O\-R\-T\-: short$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-I\-N\-T\-: int$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-L\-O\-N\-G\-: long$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-I\-N\-T64\-: int64\-\_\-t$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-F\-L\-O\-A\-T\-: float$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-D\-O\-U\-B\-L\-E\-: double$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-T\-R\-I\-N\-G\-S\-H\-A\-R\-E\-: const char $\ast$$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-T\-R\-I\-N\-G\-: const char $\ast$$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-A\-R\-R\-A\-Y\-: Eina\-\_\-\-Value\-\_\-\-Array$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-L\-I\-S\-T\-: Eina\-\_\-\-Value\-\_\-\-List$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-H\-A\-S\-H\-: Eina\-\_\-\-Value\-\_\-\-Hash$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-T\-I\-M\-E\-V\-A\-L\-: struct timeval$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-B\-L\-O\-B\-: Eina\-\_\-\-Value\-\_\-\-Blob$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-T\-R\-U\-C\-T\-: Eina\-\_\-\-Value\-\_\-\-Struct$\ast$\end{DoxyItemize}
\begin{DoxyNote}{Note}
the pointer contents are written using the size defined by type. It can be larger than void$\ast$ or uint64\-\_\-t.
\end{DoxyNote}

\begin{DoxyCode}
\hyperlink{struct__Eina__Value}{Eina\_Value} *value = \hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\_value\_array\_new}(
      \hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}, 0);
\textcolor{keywordtype}{int} x = 1234;

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\_value\_array\_append}(value, 1234);
\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\_value\_array\_pset}(value, 0, &x);
\hyperlink{group__Eina__Value__Array__Group_ga6e938fbe973b5a5603d769798a0eb755}{eina\_value\_array\_pget}(value, 0, &x);
\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\_value\_free}(value);
\end{DoxyCode}


\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\-\_\-value\-\_\-array\-\_\-set()} 

\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\-\_\-value\-\_\-array\-\_\-get()} 

\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\-\_\-value\-\_\-array\-\_\-vset()} 

\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\-\_\-value\-\_\-array\-\_\-insert()} 

\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\-\_\-value\-\_\-array\-\_\-vinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\-\_\-value\-\_\-array\-\_\-pinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\-\_\-value\-\_\-array\-\_\-append()} 

\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\-\_\-value\-\_\-array\-\_\-vappend()} 

\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\-\_\-value\-\_\-array\-\_\-pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}
\hypertarget{group__Eina__Value__Array__Group_ga6e938fbe973b5a5603d769798a0eb755}{\index{Generic Value Array management@{Generic Value Array management}!eina\-\_\-value\-\_\-array\-\_\-pget@{eina\-\_\-value\-\_\-array\-\_\-pget}}
\index{eina\-\_\-value\-\_\-array\-\_\-pget@{eina\-\_\-value\-\_\-array\-\_\-pget}!Generic Value Array management@{Generic Value Array management}}
\subsubsection[{eina\-\_\-value\-\_\-array\-\_\-pget}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\-\_\-\-Bool} eina\-\_\-value\-\_\-array\-\_\-pget (
\begin{DoxyParamCaption}
\item[{const {\bf Eina\-\_\-\-Value} $\ast$}]{value, }
\item[{unsigned int}]{position, }
\item[{void $\ast$}]{ptr}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__Array__Group_ga6e938fbe973b5a5603d769798a0eb755}


Retrieve a generic value into a pointer from an array member. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
{\em ptr} & pointer to receive the contents. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\-I\-N\-A\-\_\-\-T\-R\-U\-E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} otherwise.
\end{DoxyReturn}
The value is returned in pointer contents, the actual value is type-\/dependent, but usually it will be what is stored inside the object. There shouldn't be any memory allocation, thus the contents should {\bfseries not} be freed.

The pointer type is dependent on chosen value type. The list for basic types\-:

\begin{DoxyItemize}
\item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-C\-H\-A\-R\-: unsigned char$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-S\-H\-O\-R\-T\-: unsigned short$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-I\-N\-T\-: unsigned int$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-L\-O\-N\-G\-: unsigned long$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-I\-N\-T64\-: uint64\-\_\-t$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-C\-H\-A\-R\-: char$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-H\-O\-R\-T\-: short$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-I\-N\-T\-: int$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-L\-O\-N\-G\-: long$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-I\-N\-T64\-: int64\-\_\-t$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-F\-L\-O\-A\-T\-: float$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-D\-O\-U\-B\-L\-E\-: double$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-T\-R\-I\-N\-G\-S\-H\-A\-R\-E\-: const char $\ast$$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-T\-R\-I\-N\-G\-: const char $\ast$$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-A\-R\-R\-A\-Y\-: Eina\-\_\-\-Value\-\_\-\-Array$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-L\-I\-S\-T\-: Eina\-\_\-\-Value\-\_\-\-List$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-H\-A\-S\-H\-: Eina\-\_\-\-Value\-\_\-\-Hash$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-T\-I\-M\-E\-V\-A\-L\-: struct timeval$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-B\-L\-O\-B\-: Eina\-\_\-\-Value\-\_\-\-Blob$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-T\-R\-U\-C\-T\-: Eina\-\_\-\-Value\-\_\-\-Struct$\ast$\end{DoxyItemize}

\begin{DoxyCode}
\hyperlink{struct__Eina__Value}{Eina\_Value} *value = \hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\_value\_array\_new}(
      \hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}, 0);
\textcolor{keywordtype}{int} x;

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\_value\_array\_append}(value, 1234);
\hyperlink{group__Eina__Value__Array__Group_ga6e938fbe973b5a5603d769798a0eb755}{eina\_value\_array\_pget}(value, 0, &x);
\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\_value\_free}(value);
\end{DoxyCode}


\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\-\_\-value\-\_\-array\-\_\-set()} 

\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\-\_\-value\-\_\-array\-\_\-vset()} 

\hyperlink{group__Eina__Value__Array__Group_ga2bbd3aa89ec9ac0cc01b86f5e5b139cd}{eina\-\_\-value\-\_\-array\-\_\-pset()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}
\hypertarget{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{\index{Generic Value Array management@{Generic Value Array management}!eina\-\_\-value\-\_\-array\-\_\-pinsert@{eina\-\_\-value\-\_\-array\-\_\-pinsert}}
\index{eina\-\_\-value\-\_\-array\-\_\-pinsert@{eina\-\_\-value\-\_\-array\-\_\-pinsert}!Generic Value Array management@{Generic Value Array management}}
\subsubsection[{eina\-\_\-value\-\_\-array\-\_\-pinsert}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\-\_\-\-Bool} eina\-\_\-value\-\_\-array\-\_\-pinsert (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Value} $\ast$}]{value, }
\item[{unsigned int}]{position, }
\item[{const void $\ast$}]{ptr}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}


Insert a generic value to an array member position from a pointer. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em position} & index of the member \\
\hline
{\em ptr} & pointer to specify the contents. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\-I\-N\-A\-\_\-\-T\-R\-U\-E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} otherwise.
\end{DoxyReturn}
The pointer type is dependent on chosen value type. The list for basic types\-:

\begin{DoxyItemize}
\item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-C\-H\-A\-R\-: unsigned char$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-S\-H\-O\-R\-T\-: unsigned short$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-I\-N\-T\-: unsigned int$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-L\-O\-N\-G\-: unsigned long$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-I\-N\-T64\-: uint64\-\_\-t$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-C\-H\-A\-R\-: char$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-H\-O\-R\-T\-: short$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-I\-N\-T\-: int$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-L\-O\-N\-G\-: long$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-I\-N\-T64\-: int64\-\_\-t$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-F\-L\-O\-A\-T\-: float$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-D\-O\-U\-B\-L\-E\-: double$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-T\-R\-I\-N\-G\-S\-H\-A\-R\-E\-: const char $\ast$$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-T\-R\-I\-N\-G\-: const char $\ast$$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-A\-R\-R\-A\-Y\-: Eina\-\_\-\-Value\-\_\-\-Array$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-L\-I\-S\-T\-: Eina\-\_\-\-Value\-\_\-\-List$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-H\-A\-S\-H\-: Eina\-\_\-\-Value\-\_\-\-Hash$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-T\-I\-M\-E\-V\-A\-L\-: struct timeval$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-B\-L\-O\-B\-: Eina\-\_\-\-Value\-\_\-\-Blob$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-T\-R\-U\-C\-T\-: Eina\-\_\-\-Value\-\_\-\-Struct$\ast$\end{DoxyItemize}
\begin{DoxyNote}{Note}
the pointer contents are written using the size defined by type. It can be larger than void$\ast$ or uint64\-\_\-t.
\end{DoxyNote}

\begin{DoxyCode}
\hyperlink{struct__Eina__Value}{Eina\_Value} *value = \hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\_value\_array\_new}(
      \hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}, 0);
\textcolor{keywordtype}{int} x = 1234;

\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\_value\_array\_pinsert}(value, 0, &x);
\hyperlink{group__Eina__Value__Array__Group_ga6e938fbe973b5a5603d769798a0eb755}{eina\_value\_array\_pget}(value, 0, &x);
\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\_value\_free}(value);
\end{DoxyCode}


\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\-\_\-value\-\_\-array\-\_\-set()} 

\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\-\_\-value\-\_\-array\-\_\-get()} 

\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\-\_\-value\-\_\-array\-\_\-vset()} 

\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\-\_\-value\-\_\-array\-\_\-insert()} 

\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\-\_\-value\-\_\-array\-\_\-vinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\-\_\-value\-\_\-array\-\_\-pinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\-\_\-value\-\_\-array\-\_\-append()} 

\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\-\_\-value\-\_\-array\-\_\-vappend()} 

\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\-\_\-value\-\_\-array\-\_\-pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}
\hypertarget{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{\index{Generic Value Array management@{Generic Value Array management}!eina\-\_\-value\-\_\-array\-\_\-pappend@{eina\-\_\-value\-\_\-array\-\_\-pappend}}
\index{eina\-\_\-value\-\_\-array\-\_\-pappend@{eina\-\_\-value\-\_\-array\-\_\-pappend}!Generic Value Array management@{Generic Value Array management}}
\subsubsection[{eina\-\_\-value\-\_\-array\-\_\-pappend}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\-\_\-\-Bool} eina\-\_\-value\-\_\-array\-\_\-pappend (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Value} $\ast$}]{value, }
\item[{const void $\ast$}]{ptr}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}


Append a generic value to an array from a pointer. 


\begin{DoxyParams}{Parameters}
{\em value} & source value object \\
\hline
{\em ptr} & pointer to specify the contents. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\-I\-N\-A\-\_\-\-T\-R\-U\-E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} otherwise.
\end{DoxyReturn}
The pointer type is dependent on chosen value type. The list for basic types\-:

\begin{DoxyItemize}
\item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-C\-H\-A\-R\-: unsigned char$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-S\-H\-O\-R\-T\-: unsigned short$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-I\-N\-T\-: unsigned int$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-L\-O\-N\-G\-: unsigned long$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-U\-I\-N\-T64\-: uint64\-\_\-t$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-C\-H\-A\-R\-: char$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-H\-O\-R\-T\-: short$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-I\-N\-T\-: int$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-L\-O\-N\-G\-: long$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-I\-N\-T64\-: int64\-\_\-t$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-F\-L\-O\-A\-T\-: float$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-D\-O\-U\-B\-L\-E\-: double$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-T\-R\-I\-N\-G\-S\-H\-A\-R\-E\-: const char $\ast$$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-T\-R\-I\-N\-G\-: const char $\ast$$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-A\-R\-R\-A\-Y\-: Eina\-\_\-\-Value\-\_\-\-Array$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-L\-I\-S\-T\-: Eina\-\_\-\-Value\-\_\-\-List$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-H\-A\-S\-H\-: Eina\-\_\-\-Value\-\_\-\-Hash$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-T\-I\-M\-E\-V\-A\-L\-: struct timeval$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-B\-L\-O\-B\-: Eina\-\_\-\-Value\-\_\-\-Blob$\ast$ \item E\-I\-N\-A\-\_\-\-V\-A\-L\-U\-E\-\_\-\-T\-Y\-P\-E\-\_\-\-S\-T\-R\-U\-C\-T\-: Eina\-\_\-\-Value\-\_\-\-Struct$\ast$\end{DoxyItemize}
\begin{DoxyNote}{Note}
the pointer contents are written using the size defined by type. It can be larger than void$\ast$ or uint64\-\_\-t.
\end{DoxyNote}

\begin{DoxyCode}
\hyperlink{struct__Eina__Value}{Eina\_Value} *value = \hyperlink{group__Eina__Value__Array__Group_ga48893089e10fa1244e9fd82643b50c10}{eina\_value\_array\_new}(
      \hyperlink{group__Eina__Value__Group_ga17974fd9ab773a3efefd591ffde58f77}{EINA\_VALUE\_TYPE\_INT}, 0);
\textcolor{keywordtype}{int} x = 1234;

\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\_value\_array\_pappend}(value, &x);
\hyperlink{group__Eina__Value__Array__Group_ga6e938fbe973b5a5603d769798a0eb755}{eina\_value\_array\_pget}(value, 0, &x);
\hyperlink{group__Eina__Value__Value__Group_gaa2aa7ac9d1fcd7c4497cf104cb374a52}{eina\_value\_free}(value);
\end{DoxyCode}


\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Eina__Value__Array__Group_gac833bf34f56ba77e87bbe6b79734b653}{eina\-\_\-value\-\_\-array\-\_\-set()} 

\hyperlink{group__Eina__Value__Array__Group_ga9358dce2404ed0926db502539f8a1318}{eina\-\_\-value\-\_\-array\-\_\-get()} 

\hyperlink{group__Eina__Value__Array__Group_gaee7ba765015a4a8664d6cf0fad6f28bf}{eina\-\_\-value\-\_\-array\-\_\-vset()} 

\hyperlink{group__Eina__Value__Array__Group_ga9228665a1762eecb5e25f4afe6e2b571}{eina\-\_\-value\-\_\-array\-\_\-insert()} 

\hyperlink{group__Eina__Value__Array__Group_gaf089fc210e854fea2680afdcc9717096}{eina\-\_\-value\-\_\-array\-\_\-vinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga94e4825e378676ade211c79f420d5a34}{eina\-\_\-value\-\_\-array\-\_\-pinsert()} 

\hyperlink{group__Eina__Value__Array__Group_ga82efa324a5f4b1d4d99002e1c9c78868}{eina\-\_\-value\-\_\-array\-\_\-append()} 

\hyperlink{group__Eina__Value__Array__Group_gaa6441c80d76aa31886b77a756ed019ce}{eina\-\_\-value\-\_\-array\-\_\-vappend()} 

\hyperlink{group__Eina__Value__Array__Group_ga537c4ab3c3a8b5b2e8dd1d3a7ed3fe91}{eina\-\_\-value\-\_\-array\-\_\-pappend()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}
\hypertarget{group__Eina__Value__Array__Group_ga5220dd928cb280b9d20ae9221da44aa2}{\index{Generic Value Array management@{Generic Value Array management}!eina\-\_\-value\-\_\-array\-\_\-value\-\_\-get@{eina\-\_\-value\-\_\-array\-\_\-value\-\_\-get}}
\index{eina\-\_\-value\-\_\-array\-\_\-value\-\_\-get@{eina\-\_\-value\-\_\-array\-\_\-value\-\_\-get}!Generic Value Array management@{Generic Value Array management}}
\subsubsection[{eina\-\_\-value\-\_\-array\-\_\-value\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Eina\-\_\-\-Bool} eina\-\_\-value\-\_\-array\-\_\-value\-\_\-get (
\begin{DoxyParamCaption}
\item[{const {\bf Eina\-\_\-\-Value} $\ast$}]{src, }
\item[{unsigned int}]{position, }
\item[{{\bf Eina\-\_\-\-Value} $\ast$}]{dst}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{group__Eina__Value__Array__Group_ga5220dd928cb280b9d20ae9221da44aa2}


Retrieves a value from the array as an Eina\-\_\-\-Value copy. 


\begin{DoxyParams}{Parameters}
{\em src} & source value object \\
\hline
{\em position} & index of the member \\
\hline
{\em dst} & where to return the array member \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\-I\-N\-A\-\_\-\-T\-R\-U\-E} on success, \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} otherwise.
\end{DoxyReturn}
The argument {\itshape dst} is considered uninitialized and it's setup to the type of the member.

\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}
