\hypertarget{group__Eina__Inline__Array__Group}{\section{Inline Array}
\label{group__Eina__Inline__Array__Group}\index{Inline Array@{Inline Array}}
}


Inline array is a container that stores the data itself not pointers to data, this means there is no memory fragmentation, also for small data types(such as char, short, int, etc.) it's more memory efficient.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{struct__Eina__Inarray}{\-\_\-\-Eina\-\_\-\-Inarray}
\begin{DoxyCompactList}\small\item\em Inline array structure, use \hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} typedef instead. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{group__Eina__Inline__Array__Group_gab6ffcad27b5099aa34af9ecd5e2b22f9}{E\-I\-N\-A\-\_\-\-I\-N\-A\-R\-R\-A\-Y\-\_\-\-F\-O\-R\-E\-A\-C\-H}(array, itr)
\begin{DoxyCompactList}\small\item\em walks array linearly from head to tail \end{DoxyCompactList}\item 
\#define \hyperlink{group__Eina__Inline__Array__Group_ga0bfd07aebdb03651a901f3ba6b8e50cb}{E\-I\-N\-A\-\_\-\-I\-N\-A\-R\-R\-A\-Y\-\_\-\-R\-E\-V\-E\-R\-S\-E\-\_\-\-F\-O\-R\-E\-A\-C\-H}(array, itr)
\begin{DoxyCompactList}\small\item\em walks array linearly from tail to head \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \hyperlink{struct__Eina__Inarray}{\-\_\-\-Eina\-\_\-\-Inarray} \hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray}
\begin{DoxyCompactList}\small\item\em Inlined array type. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$ \hyperlink{group__Eina__Inline__Array__Group_ga38a116a1355055b470c31bb4f633e53b}{eina\-\_\-inarray\-\_\-new} (unsigned int member\-\_\-size, unsigned int step)
\begin{DoxyCompactList}\small\item\em Create new inline array. \end{DoxyCompactList}\item 
void \hyperlink{group__Eina__Inline__Array__Group_ga369b3090b7c04377eaceb6bebfe36e06}{eina\-\_\-inarray\-\_\-free} (\hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$array)
\begin{DoxyCompactList}\small\item\em Free array and its members. \end{DoxyCompactList}\item 
void \hyperlink{group__Eina__Inline__Array__Group_ga97ceb13e335d8b8aae8dfcce735ec274}{eina\-\_\-inarray\-\_\-step\-\_\-set} (\hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$array, unsigned int sizeof\-\_\-eina\-\_\-inarray, unsigned int member\-\_\-size, unsigned int step)
\begin{DoxyCompactList}\small\item\em Initialize inline array. \end{DoxyCompactList}\item 
void \hyperlink{group__Eina__Inline__Array__Group_ga4e2b2a5b7d01613db5b578d8dbec36b7}{eina\-\_\-inarray\-\_\-flush} (\hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$array)
\begin{DoxyCompactList}\small\item\em Remove every member from array. \end{DoxyCompactList}\item 
int \hyperlink{group__Eina__Inline__Array__Group_ga6b9a97816b98ccf9be6b65ca06b90013}{eina\-\_\-inarray\-\_\-push} (\hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$array, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Copy the data as the last member of the array. \end{DoxyCompactList}\item 
void $\ast$ \hyperlink{group__Eina__Inline__Array__Group_gaec3ab09f7e7aa05c413eccf927d47ebb}{eina\-\_\-inarray\-\_\-grow} (\hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$array, unsigned int size)
\begin{DoxyCompactList}\small\item\em Allocate new item at the end of the array. \end{DoxyCompactList}\item 
int \hyperlink{group__Eina__Inline__Array__Group_ga55e20eb249332bac73809fe171f0a5a5}{eina\-\_\-inarray\-\_\-insert} (\hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$array, const void $\ast$data, \hyperlink{group__Eina__Types__Group_ga1b31ffcc0d46eed63a2381c5a011b486}{Eina\-\_\-\-Compare\-\_\-\-Cb} compare)
\begin{DoxyCompactList}\small\item\em Copy the data to array at position found by comparison function. \end{DoxyCompactList}\item 
int \hyperlink{group__Eina__Inline__Array__Group_ga3dfa2e214c3cf3363f6ed390da4221c3}{eina\-\_\-inarray\-\_\-insert\-\_\-sorted} (\hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$array, const void $\ast$data, \hyperlink{group__Eina__Types__Group_ga1b31ffcc0d46eed63a2381c5a011b486}{Eina\-\_\-\-Compare\-\_\-\-Cb} compare)
\begin{DoxyCompactList}\small\item\em Copy the data to array at position found by comparison function. \end{DoxyCompactList}\item 
int \hyperlink{group__Eina__Inline__Array__Group_ga4075a8845cdc9ea50df235e331f079fc}{eina\-\_\-inarray\-\_\-remove} (\hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$array, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Find data and remove matching member. \end{DoxyCompactList}\item 
void $\ast$ \hyperlink{group__Eina__Inline__Array__Group_ga629fc0146641254b62562f6bef2f01ad}{eina\-\_\-inarray\-\_\-pop} (\hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$array)
\begin{DoxyCompactList}\small\item\em Removes the last member of the array. \end{DoxyCompactList}\item 
void $\ast$ \hyperlink{group__Eina__Inline__Array__Group_ga7f94b91bfbd5a5c01f9ffa41c1f91740}{eina\-\_\-inarray\-\_\-nth} (const \hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$array, unsigned int position)
\begin{DoxyCompactList}\small\item\em Get the member at given position. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} \hyperlink{group__Eina__Inline__Array__Group_ga8928a9428988a511720ad6b4370f86e6}{eina\-\_\-inarray\-\_\-insert\-\_\-at} (\hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$array, unsigned int position, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Copy the data at given position in the array. \end{DoxyCompactList}\item 
void $\ast$ \hyperlink{group__Eina__Inline__Array__Group_ga0d80da2a705e35306d8b7bd57f0b234e}{eina\-\_\-inarray\-\_\-alloc\-\_\-at} (\hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$array, unsigned int position, unsigned int member\-\_\-count)
\begin{DoxyCompactList}\small\item\em Opens a space at given position, returning its pointer. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} \hyperlink{group__Eina__Inline__Array__Group_gab8fc65cb1a9f7736343f3f6b7e1639ca}{eina\-\_\-inarray\-\_\-replace\-\_\-at} (\hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$array, unsigned int position, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Copy the data over the given position. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} \hyperlink{group__Eina__Inline__Array__Group_gad7fe9f774d769433c6285af1f8f94767}{eina\-\_\-inarray\-\_\-remove\-\_\-at} (\hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$array, unsigned int position)
\begin{DoxyCompactList}\small\item\em Remove member at given position. \end{DoxyCompactList}\item 
void \hyperlink{group__Eina__Inline__Array__Group_gafcd0b1b94629685b082e5ffa0c9a0b00}{eina\-\_\-inarray\-\_\-reverse} (\hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$array)
\begin{DoxyCompactList}\small\item\em Reverse members in the array. \end{DoxyCompactList}\item 
void \hyperlink{group__Eina__Inline__Array__Group_ga485250d8aef53c5648238e94987f58cc}{eina\-\_\-inarray\-\_\-sort} (\hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$array, \hyperlink{group__Eina__Types__Group_ga1b31ffcc0d46eed63a2381c5a011b486}{Eina\-\_\-\-Compare\-\_\-\-Cb} compare)
\begin{DoxyCompactList}\small\item\em Applies quick sort to array. \end{DoxyCompactList}\item 
int \hyperlink{group__Eina__Inline__Array__Group_gadbd0ce893a32d7d24ff7662a15d88c5b}{eina\-\_\-inarray\-\_\-search} (const \hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$array, const void $\ast$data, \hyperlink{group__Eina__Types__Group_ga1b31ffcc0d46eed63a2381c5a011b486}{Eina\-\_\-\-Compare\-\_\-\-Cb} compare)
\begin{DoxyCompactList}\small\item\em Search member (linear walk) \end{DoxyCompactList}\item 
int \hyperlink{group__Eina__Inline__Array__Group_gadd55e832494d0c261fd6e6604abb6cf6}{eina\-\_\-inarray\-\_\-search\-\_\-sorted} (const \hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$array, const void $\ast$data, \hyperlink{group__Eina__Types__Group_ga1b31ffcc0d46eed63a2381c5a011b486}{Eina\-\_\-\-Compare\-\_\-\-Cb} compare)
\begin{DoxyCompactList}\small\item\em Search member (binary search walk) \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\-\_\-\-Bool} \hyperlink{group__Eina__Inline__Array__Group_gade02e41769a458138559110b33a7041b}{eina\-\_\-inarray\-\_\-foreach} (const \hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$array, \hyperlink{group__Eina__Types__Group_gab115f6c19b6641ab5ba22ed45d9b7aa4}{Eina\-\_\-\-Each\-\_\-\-Cb} function, const void $\ast$user\-\_\-data)
\begin{DoxyCompactList}\small\item\em Call function for each array member. \end{DoxyCompactList}\item 
int \hyperlink{group__Eina__Inline__Array__Group_gaec7f8b31af8c68f0e48e5aab20e4f9e8}{eina\-\_\-inarray\-\_\-foreach\-\_\-remove} (\hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$array, \hyperlink{group__Eina__Types__Group_gab115f6c19b6641ab5ba22ed45d9b7aa4}{Eina\-\_\-\-Each\-\_\-\-Cb} match, const void $\ast$user\-\_\-data)
\begin{DoxyCompactList}\small\item\em Remove all members that matched. \end{DoxyCompactList}\item 
unsigned int \hyperlink{group__Eina__Inline__Array__Group_gaf6d3ce4a7b0b8e521e2c91024065d97d}{eina\-\_\-inarray\-\_\-count} (const \hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$array)
\begin{DoxyCompactList}\small\item\em number of members in array. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\-\_\-\-Iterator} $\ast$ \hyperlink{group__Eina__Inline__Array__Group_gaf7e53fb490de491d5779e611eeef5b75}{eina\-\_\-inarray\-\_\-iterator\-\_\-new} (const \hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$array)
\begin{DoxyCompactList}\small\item\em Returned a new iterator associated to an array. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\-\_\-\-Iterator} $\ast$ \hyperlink{group__Eina__Inline__Array__Group_gaa02b6292b00d705ed7c0a5f442362869}{eina\-\_\-inarray\-\_\-iterator\-\_\-reversed\-\_\-new} (const \hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$array)
\begin{DoxyCompactList}\small\item\em Returned a new reversed iterator associated to an array. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Accessor__Group_ga65199ea5201a1867471028477dc26744}{Eina\-\_\-\-Accessor} $\ast$ \hyperlink{group__Eina__Inline__Array__Group_ga29874e297950b36e3be8fa0fbc0e24d1}{eina\-\_\-inarray\-\_\-accessor\-\_\-new} (const \hyperlink{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{Eina\-\_\-\-Inarray} $\ast$array)
\begin{DoxyCompactList}\small\item\em Returned a new accessor associated to an array. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Inline array is a container that stores the data itself not pointers to data, this means there is no memory fragmentation, also for small data types(such as char, short, int, etc.) it's more memory efficient. Usage of the inline array is very similar to that of other \hyperlink{group__Eina__Containers__Group}{Containers}, like all arrays adding elements to the beginning of the array is a lot more costly than appending, so those operations should be minimized.

Examples\-: \begin{DoxyItemize}
\item \hyperlink{eina_inarray_example_01}{Eina inline array usage} \item \hyperlink{eina_inarray_example_02}{Eina inline array of strings} \end{DoxyItemize}


\subsection{Macro Definition Documentation}
\hypertarget{group__Eina__Inline__Array__Group_gab6ffcad27b5099aa34af9ecd5e2b22f9}{\index{Inline Array@{Inline Array}!E\-I\-N\-A\-\_\-\-I\-N\-A\-R\-R\-A\-Y\-\_\-\-F\-O\-R\-E\-A\-C\-H@{E\-I\-N\-A\-\_\-\-I\-N\-A\-R\-R\-A\-Y\-\_\-\-F\-O\-R\-E\-A\-C\-H}}
\index{E\-I\-N\-A\-\_\-\-I\-N\-A\-R\-R\-A\-Y\-\_\-\-F\-O\-R\-E\-A\-C\-H@{E\-I\-N\-A\-\_\-\-I\-N\-A\-R\-R\-A\-Y\-\_\-\-F\-O\-R\-E\-A\-C\-H}!Inline Array@{Inline Array}}
\subsubsection[{E\-I\-N\-A\-\_\-\-I\-N\-A\-R\-R\-A\-Y\-\_\-\-F\-O\-R\-E\-A\-C\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define E\-I\-N\-A\-\_\-\-I\-N\-A\-R\-R\-A\-Y\-\_\-\-F\-O\-R\-E\-A\-C\-H(
\begin{DoxyParamCaption}
\item[{}]{array, }
\item[{}]{itr}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_gab6ffcad27b5099aa34af9ecd5e2b22f9}
{\bfseries Value\-:}
\begin{DoxyCode}
\textcolor{keywordflow}{for} ((itr) = (array)->members;                                  \(\backslash\)
       (itr) < (((\_\_typeof\_\_(*itr)*)(array)->members) + (array)->len);  \(\backslash\)
       (itr)++)
\end{DoxyCode}


walks array linearly from head to tail 


\begin{DoxyParams}{Parameters}
{\em array} & array object \\
\hline
{\em itr} & the iterator pointer\\
\hline
\end{DoxyParams}
{\itshape itr} must be a pointer with sizeof(itr$\ast$) == array-\/$>$member\-\_\-size.

\begin{DoxyWarning}{Warning}
This is fast as it does direct pointer access, but it will not check for {\ttfamily N\-U\-L\-L} pointers or invalid array object! See \hyperlink{group__Eina__Inline__Array__Group_gade02e41769a458138559110b33a7041b}{eina\-\_\-inarray\-\_\-foreach()} to do that.

Do not modify array as you walk it! If that is desired, then use \hyperlink{group__Eina__Inline__Array__Group_gaec7f8b31af8c68f0e48e5aab20e4f9e8}{eina\-\_\-inarray\-\_\-foreach\-\_\-remove()}
\end{DoxyWarning}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}
\begin{Desc}
\item[Examples\-: ]\par
\hyperlink{eina_inarray_01_8c-example}{eina\-\_\-inarray\-\_\-01.\-c}, and \hyperlink{eina_inarray_02_8c-example}{eina\-\_\-inarray\-\_\-02.\-c}.\end{Desc}
\hypertarget{group__Eina__Inline__Array__Group_ga0bfd07aebdb03651a901f3ba6b8e50cb}{\index{Inline Array@{Inline Array}!E\-I\-N\-A\-\_\-\-I\-N\-A\-R\-R\-A\-Y\-\_\-\-R\-E\-V\-E\-R\-S\-E\-\_\-\-F\-O\-R\-E\-A\-C\-H@{E\-I\-N\-A\-\_\-\-I\-N\-A\-R\-R\-A\-Y\-\_\-\-R\-E\-V\-E\-R\-S\-E\-\_\-\-F\-O\-R\-E\-A\-C\-H}}
\index{E\-I\-N\-A\-\_\-\-I\-N\-A\-R\-R\-A\-Y\-\_\-\-R\-E\-V\-E\-R\-S\-E\-\_\-\-F\-O\-R\-E\-A\-C\-H@{E\-I\-N\-A\-\_\-\-I\-N\-A\-R\-R\-A\-Y\-\_\-\-R\-E\-V\-E\-R\-S\-E\-\_\-\-F\-O\-R\-E\-A\-C\-H}!Inline Array@{Inline Array}}
\subsubsection[{E\-I\-N\-A\-\_\-\-I\-N\-A\-R\-R\-A\-Y\-\_\-\-R\-E\-V\-E\-R\-S\-E\-\_\-\-F\-O\-R\-E\-A\-C\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define E\-I\-N\-A\-\_\-\-I\-N\-A\-R\-R\-A\-Y\-\_\-\-R\-E\-V\-E\-R\-S\-E\-\_\-\-F\-O\-R\-E\-A\-C\-H(
\begin{DoxyParamCaption}
\item[{}]{array, }
\item[{}]{itr}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_ga0bfd07aebdb03651a901f3ba6b8e50cb}
{\bfseries Value\-:}
\begin{DoxyCode}
\textcolor{keywordflow}{for} ((itr) = ((((\_\_typeof\_\_(*(itr))*)(array)->members) + (array)->len) - 1); \(\backslash\)
       (((itr) >= (\_\_typeof\_\_(*(itr))*)(array)->members)                \(\backslash\)
        && ((array)->members != NULL));                                 \(\backslash\)
       (itr)--)
\end{DoxyCode}


walks array linearly from tail to head 


\begin{DoxyParams}{Parameters}
{\em array} & array object \\
\hline
{\em itr} & the iterator pointer\\
\hline
\end{DoxyParams}
{\itshape itr} must be a pointer with sizeof(itr$\ast$) == array-\/$>$member\-\_\-size.

\begin{DoxyWarning}{Warning}
This is fast as it does direct pointer access, but it will not check for {\ttfamily N\-U\-L\-L} pointers or invalid array object!

Do not modify array as you walk it! If that is desired, then use \hyperlink{group__Eina__Inline__Array__Group_gaec7f8b31af8c68f0e48e5aab20e4f9e8}{eina\-\_\-inarray\-\_\-foreach\-\_\-remove()}
\end{DoxyWarning}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}


\subsection{Typedef Documentation}
\hypertarget{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}{\index{Inline Array@{Inline Array}!Eina\-\_\-\-Inarray@{Eina\-\_\-\-Inarray}}
\index{Eina\-\_\-\-Inarray@{Eina\-\_\-\-Inarray}!Inline Array@{Inline Array}}
\subsubsection[{Eina\-\_\-\-Inarray}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\-\_\-\-Inarray}}}\label{group__Eina__Inline__Array__Group_gac464b15f0b1389d944cd93a595ba4d50}


Inlined array type. 

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


\subsection{Function Documentation}
\hypertarget{group__Eina__Inline__Array__Group_ga38a116a1355055b470c31bb4f633e53b}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-new@{eina\-\_\-inarray\-\_\-new}}
\index{eina\-\_\-inarray\-\_\-new@{eina\-\_\-inarray\-\_\-new}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\-\_\-\-Inarray}$\ast$ eina\-\_\-inarray\-\_\-new (
\begin{DoxyParamCaption}
\item[{unsigned int}]{member\-\_\-size, }
\item[{unsigned int}]{step}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_ga38a116a1355055b470c31bb4f633e53b}


Create new inline array. 


\begin{DoxyParams}{Parameters}
{\em member\-\_\-size} & size of each member in the array. \\
\hline
{\em step} & when resizing the array, do this using the following extra amount. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new inline array table or {\ttfamily N\-U\-L\-L} on failure.
\end{DoxyReturn}
Create a new array where members are inlined in a sequence. Each member has {\itshape member\-\_\-size} bytes.

If the {\itshape step} is 0, then a safe default is chosen.

On failure, {\ttfamily N\-U\-L\-L} is returned. If {\itshape member\-\_\-size} is zero, then {\ttfamily N\-U\-L\-L} is returned.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Eina__Inline__Array__Group_ga369b3090b7c04377eaceb6bebfe36e06}{eina\-\_\-inarray\-\_\-free()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}
\hypertarget{group__Eina__Inline__Array__Group_ga369b3090b7c04377eaceb6bebfe36e06}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-free@{eina\-\_\-inarray\-\_\-free}}
\index{eina\-\_\-inarray\-\_\-free@{eina\-\_\-inarray\-\_\-free}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-free}]{\setlength{\rightskip}{0pt plus 5cm}void eina\-\_\-inarray\-\_\-free (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Inarray} $\ast$}]{array}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_ga369b3090b7c04377eaceb6bebfe36e06}


Free array and its members. 


\begin{DoxyParams}{Parameters}
{\em array} & array object\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Eina__Inline__Array__Group_ga4e2b2a5b7d01613db5b578d8dbec36b7}{eina\-\_\-inarray\-\_\-flush()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}


References \-\_\-\-Eina\-\_\-\-Inarray\-::members.

\hypertarget{group__Eina__Inline__Array__Group_ga97ceb13e335d8b8aae8dfcce735ec274}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-step\-\_\-set@{eina\-\_\-inarray\-\_\-step\-\_\-set}}
\index{eina\-\_\-inarray\-\_\-step\-\_\-set@{eina\-\_\-inarray\-\_\-step\-\_\-set}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-step\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void eina\-\_\-inarray\-\_\-step\-\_\-set (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Inarray} $\ast$}]{array, }
\item[{unsigned int}]{sizeof\-\_\-eina\-\_\-inarray, }
\item[{unsigned int}]{member\-\_\-size, }
\item[{unsigned int}]{step}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_ga97ceb13e335d8b8aae8dfcce735ec274}


Initialize inline array. 


\begin{DoxyParams}{Parameters}
{\em array} & array object to initialize. \\
\hline
{\em member\-\_\-size} & size of each member in the array. \\
\hline
{\em step} & when resizing the array, do this using the following extra amount.\\
\hline
\end{DoxyParams}
Initialize array. If the {\itshape step} is {\ttfamily 0}, then a safe default is chosen.

This is useful for arrays inlined into other structures or allocated at stack.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Eina__Inline__Array__Group_ga4e2b2a5b7d01613db5b578d8dbec36b7}{eina\-\_\-inarray\-\_\-flush()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}
\hypertarget{group__Eina__Inline__Array__Group_ga4e2b2a5b7d01613db5b578d8dbec36b7}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-flush@{eina\-\_\-inarray\-\_\-flush}}
\index{eina\-\_\-inarray\-\_\-flush@{eina\-\_\-inarray\-\_\-flush}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-flush}]{\setlength{\rightskip}{0pt plus 5cm}void eina\-\_\-inarray\-\_\-flush (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Inarray} $\ast$}]{array}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_ga4e2b2a5b7d01613db5b578d8dbec36b7}


Remove every member from array. 


\begin{DoxyParams}{Parameters}
{\em array} & array object\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}


References \-\_\-\-Eina\-\_\-\-Inarray\-::len, \-\_\-\-Eina\-\_\-\-Inarray\-::max, and \-\_\-\-Eina\-\_\-\-Inarray\-::members.

\hypertarget{group__Eina__Inline__Array__Group_ga6b9a97816b98ccf9be6b65ca06b90013}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-push@{eina\-\_\-inarray\-\_\-push}}
\index{eina\-\_\-inarray\-\_\-push@{eina\-\_\-inarray\-\_\-push}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-push}]{\setlength{\rightskip}{0pt plus 5cm}int eina\-\_\-inarray\-\_\-push (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Inarray} $\ast$}]{array, }
\item[{const void $\ast$}]{data}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_ga6b9a97816b98ccf9be6b65ca06b90013}


Copy the data as the last member of the array. 


\begin{DoxyParams}{Parameters}
{\em array} & array object \\
\hline
{\em data} & data to be copied at the end \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the index of the new member or -\/1 on errors.
\end{DoxyReturn}
Copies the given pointer contents at the end of the array. The pointer is not referenced, instead it's contents is copied to the members array using the previously defined {\ttfamily member\-\_\-size}.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Eina__Inline__Array__Group_ga8928a9428988a511720ad6b4370f86e6}{eina\-\_\-inarray\-\_\-insert\-\_\-at()}.
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}


References \-\_\-\-Eina\-\_\-\-Inarray\-::len, and \-\_\-\-Eina\-\_\-\-Inarray\-::member\-\_\-size.



Referenced by eina\-\_\-inarray\-\_\-insert().

\hypertarget{group__Eina__Inline__Array__Group_gaec3ab09f7e7aa05c413eccf927d47ebb}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-grow@{eina\-\_\-inarray\-\_\-grow}}
\index{eina\-\_\-inarray\-\_\-grow@{eina\-\_\-inarray\-\_\-grow}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-grow}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ eina\-\_\-inarray\-\_\-grow (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Inarray} $\ast$}]{array, }
\item[{unsigned int}]{size}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_gaec3ab09f7e7aa05c413eccf927d47ebb}


Allocate new item at the end of the array. 


\begin{DoxyParams}{Parameters}
{\em array} & array object \\
\hline
{\em size} & number of new item to allocate\\
\hline
\end{DoxyParams}
The returned pointer is only valid until you use any other eina\-\_\-inarray function.

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


References \-\_\-\-Eina\-\_\-\-Inarray\-::len.



Referenced by evas\-\_\-async\-\_\-events\-\_\-put().

\hypertarget{group__Eina__Inline__Array__Group_ga55e20eb249332bac73809fe171f0a5a5}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-insert@{eina\-\_\-inarray\-\_\-insert}}
\index{eina\-\_\-inarray\-\_\-insert@{eina\-\_\-inarray\-\_\-insert}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-insert}]{\setlength{\rightskip}{0pt plus 5cm}int eina\-\_\-inarray\-\_\-insert (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Inarray} $\ast$}]{array, }
\item[{const void $\ast$}]{data, }
\item[{{\bf Eina\-\_\-\-Compare\-\_\-\-Cb}}]{compare}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_ga55e20eb249332bac73809fe171f0a5a5}


Copy the data to array at position found by comparison function. 


\begin{DoxyParams}{Parameters}
{\em array} & array object \\
\hline
{\em data} & data to be copied \\
\hline
{\em compare} & compare function \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the index of the new member or {\ttfamily -\/1} on errors.
\end{DoxyReturn}
Copies the given pointer contents at the array position defined by given {\itshape compare} function. The pointer is not referenced, instead it's contents is copied to the members array using the previously defined {\ttfamily member\-\_\-size}.

The data given to {\itshape compare} function are the pointer to member memory itself, do no change it.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Eina__Inline__Array__Group_ga3dfa2e214c3cf3363f6ed390da4221c3}{eina\-\_\-inarray\-\_\-insert\-\_\-sorted()} 

\hyperlink{group__Eina__Inline__Array__Group_ga8928a9428988a511720ad6b4370f86e6}{eina\-\_\-inarray\-\_\-insert\-\_\-at()} 

\hyperlink{group__Eina__Inline__Array__Group_ga6b9a97816b98ccf9be6b65ca06b90013}{eina\-\_\-inarray\-\_\-push()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}


References eina\-\_\-inarray\-\_\-insert\-\_\-at(), eina\-\_\-inarray\-\_\-push(), \-\_\-\-Eina\-\_\-\-Inarray\-::len, \-\_\-\-Eina\-\_\-\-Inarray\-::member\-\_\-size, and \-\_\-\-Eina\-\_\-\-Inarray\-::members.

\hypertarget{group__Eina__Inline__Array__Group_ga3dfa2e214c3cf3363f6ed390da4221c3}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-insert\-\_\-sorted@{eina\-\_\-inarray\-\_\-insert\-\_\-sorted}}
\index{eina\-\_\-inarray\-\_\-insert\-\_\-sorted@{eina\-\_\-inarray\-\_\-insert\-\_\-sorted}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-insert\-\_\-sorted}]{\setlength{\rightskip}{0pt plus 5cm}int eina\-\_\-inarray\-\_\-insert\-\_\-sorted (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Inarray} $\ast$}]{array, }
\item[{const void $\ast$}]{data, }
\item[{{\bf Eina\-\_\-\-Compare\-\_\-\-Cb}}]{compare}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_ga3dfa2e214c3cf3363f6ed390da4221c3}


Copy the data to array at position found by comparison function. 


\begin{DoxyParams}{Parameters}
{\em array} & array object \\
\hline
{\em data} & data to be copied \\
\hline
{\em compare} & compare function \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the index of the new member or {\ttfamily -\/1} on errors.
\end{DoxyReturn}
Copies the given pointer contents at the array position defined by given {\itshape compare} function. The pointer is not referenced, instead it's contents is copied to the members array using the previously defined {\ttfamily member\-\_\-size}.

The data given to {\itshape compare} function are the pointer to member memory itself, do no change it.

This variation will optimize insertion position assuming the array is already sorted by doing binary search.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Eina__Inline__Array__Group_ga485250d8aef53c5648238e94987f58cc}{eina\-\_\-inarray\-\_\-sort()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}


References eina\-\_\-inarray\-\_\-insert\-\_\-at().

\hypertarget{group__Eina__Inline__Array__Group_ga4075a8845cdc9ea50df235e331f079fc}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-remove@{eina\-\_\-inarray\-\_\-remove}}
\index{eina\-\_\-inarray\-\_\-remove@{eina\-\_\-inarray\-\_\-remove}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-remove}]{\setlength{\rightskip}{0pt plus 5cm}int eina\-\_\-inarray\-\_\-remove (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Inarray} $\ast$}]{array, }
\item[{const void $\ast$}]{data}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_ga4075a8845cdc9ea50df235e331f079fc}


Find data and remove matching member. 


\begin{DoxyParams}{Parameters}
{\em array} & array object \\
\hline
{\em data} & data to be found and removed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the index of the removed member or {\ttfamily -\/1} on errors.
\end{DoxyReturn}
Find data in the array and remove it. Data may be an existing member of array (then optimized) or the contents will be matched using memcmp().

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Eina__Inline__Array__Group_ga629fc0146641254b62562f6bef2f01ad}{eina\-\_\-inarray\-\_\-pop()} 

\hyperlink{group__Eina__Inline__Array__Group_gad7fe9f774d769433c6285af1f8f94767}{eina\-\_\-inarray\-\_\-remove\-\_\-at()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}


References eina\-\_\-inarray\-\_\-remove\-\_\-at(), \-\_\-\-Eina\-\_\-\-Inarray\-::len, \-\_\-\-Eina\-\_\-\-Inarray\-::member\-\_\-size, and \-\_\-\-Eina\-\_\-\-Inarray\-::members.

\hypertarget{group__Eina__Inline__Array__Group_ga629fc0146641254b62562f6bef2f01ad}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-pop@{eina\-\_\-inarray\-\_\-pop}}
\index{eina\-\_\-inarray\-\_\-pop@{eina\-\_\-inarray\-\_\-pop}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-pop}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ eina\-\_\-inarray\-\_\-pop (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Inarray} $\ast$}]{array}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_ga629fc0146641254b62562f6bef2f01ad}


Removes the last member of the array. 


\begin{DoxyParams}{Parameters}
{\em array} & array object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the data poped out of the array.
\end{DoxyReturn}
Note\-: The data could be considered valid only until any other operation touch the Inarray.

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


References \-\_\-\-Eina\-\_\-\-Inarray\-::len.

\hypertarget{group__Eina__Inline__Array__Group_ga7f94b91bfbd5a5c01f9ffa41c1f91740}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-nth@{eina\-\_\-inarray\-\_\-nth}}
\index{eina\-\_\-inarray\-\_\-nth@{eina\-\_\-inarray\-\_\-nth}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-nth}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ eina\-\_\-inarray\-\_\-nth (
\begin{DoxyParamCaption}
\item[{const {\bf Eina\-\_\-\-Inarray} $\ast$}]{array, }
\item[{unsigned int}]{position}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_ga7f94b91bfbd5a5c01f9ffa41c1f91740}


Get the member at given position. 


\begin{DoxyParams}{Parameters}
{\em array} & array object \\
\hline
{\em position} & member position \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
pointer to current member memory.
\end{DoxyReturn}
Gets the member given its position in the array. It is a pointer to its current memory, then it can be invalidated with functions that changes the array such as \hyperlink{group__Eina__Inline__Array__Group_ga6b9a97816b98ccf9be6b65ca06b90013}{eina\-\_\-inarray\-\_\-push()}, \hyperlink{group__Eina__Inline__Array__Group_ga8928a9428988a511720ad6b4370f86e6}{eina\-\_\-inarray\-\_\-insert\-\_\-at()} or \hyperlink{group__Eina__Inline__Array__Group_gad7fe9f774d769433c6285af1f8f94767}{eina\-\_\-inarray\-\_\-remove\-\_\-at()} or variants.

See also eina\-\_\-inarray\-\_\-lookup() and eina\-\_\-inarray\-\_\-lookup\-\_\-sorted().

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


References \-\_\-\-Eina\-\_\-\-Inarray\-::len.

\hypertarget{group__Eina__Inline__Array__Group_ga8928a9428988a511720ad6b4370f86e6}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-insert\-\_\-at@{eina\-\_\-inarray\-\_\-insert\-\_\-at}}
\index{eina\-\_\-inarray\-\_\-insert\-\_\-at@{eina\-\_\-inarray\-\_\-insert\-\_\-at}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-insert\-\_\-at}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\-\_\-\-Bool} eina\-\_\-inarray\-\_\-insert\-\_\-at (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Inarray} $\ast$}]{array, }
\item[{unsigned int}]{position, }
\item[{const void $\ast$}]{data}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_ga8928a9428988a511720ad6b4370f86e6}


Copy the data at given position in the array. 


\begin{DoxyParams}{Parameters}
{\em array} & array object \\
\hline
{\em position} & where to insert the member \\
\hline
{\em data} & data to be copied at position \\
\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} on failure.
\end{DoxyReturn}
Copies the given pointer contents at the given {\itshape position} in the array. The pointer is not referenced, instead it's contents is copied to the members array using the previously defined {\ttfamily member\-\_\-size}.

All the members from {\itshape position} to the end of the array are shifted to the end.

If {\itshape position} is equal to the end of the array (equals to \hyperlink{group__Eina__Inline__Array__Group_gaf6d3ce4a7b0b8e521e2c91024065d97d}{eina\-\_\-inarray\-\_\-count()}), then the member is appended.

If {\itshape position} is bigger than the array length, it will fail.

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


References E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E, E\-I\-N\-A\-\_\-\-T\-R\-U\-E, \-\_\-\-Eina\-\_\-\-Inarray\-::len, and \-\_\-\-Eina\-\_\-\-Inarray\-::member\-\_\-size.



Referenced by eina\-\_\-inarray\-\_\-insert(), and eina\-\_\-inarray\-\_\-insert\-\_\-sorted().

\hypertarget{group__Eina__Inline__Array__Group_ga0d80da2a705e35306d8b7bd57f0b234e}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-alloc\-\_\-at@{eina\-\_\-inarray\-\_\-alloc\-\_\-at}}
\index{eina\-\_\-inarray\-\_\-alloc\-\_\-at@{eina\-\_\-inarray\-\_\-alloc\-\_\-at}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-alloc\-\_\-at}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ eina\-\_\-inarray\-\_\-alloc\-\_\-at (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Inarray} $\ast$}]{array, }
\item[{unsigned int}]{position, }
\item[{unsigned int}]{member\-\_\-count}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_ga0d80da2a705e35306d8b7bd57f0b234e}


Opens a space at given position, returning its pointer. 


\begin{DoxyParams}{Parameters}
{\em array} & array object \\
\hline
{\em position} & where to insert first member (open/allocate space) \\
\hline
{\em member\-\_\-count} & how many times member\-\_\-size bytes will be allocated. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
pointer to first member memory allocated or {\ttfamily N\-U\-L\-L} on errors.
\end{DoxyReturn}
This is similar to \hyperlink{group__Eina__Inline__Array__Group_ga8928a9428988a511720ad6b4370f86e6}{eina\-\_\-inarray\-\_\-insert\-\_\-at()}, but useful if the members contents are still unknown or unallocated. It will make room for the required number of items and return the pointer to the first item, similar to malloc(member\-\_\-count $\ast$ member\-\_\-size), with the guarantee all memory is within members array.

The new member memory is undefined, it's not automatically zeroed.

All the members from {\itshape position} to the end of the array are shifted to the end.

If {\itshape position} is equal to the end of the array (equals to \hyperlink{group__Eina__Inline__Array__Group_gaf6d3ce4a7b0b8e521e2c91024065d97d}{eina\-\_\-inarray\-\_\-count()}), then the member is appended.

If {\itshape position} is bigger than the array length, it will fail.

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


References \-\_\-\-Eina\-\_\-\-Inarray\-::len, and \-\_\-\-Eina\-\_\-\-Inarray\-::member\-\_\-size.

\hypertarget{group__Eina__Inline__Array__Group_gab8fc65cb1a9f7736343f3f6b7e1639ca}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-replace\-\_\-at@{eina\-\_\-inarray\-\_\-replace\-\_\-at}}
\index{eina\-\_\-inarray\-\_\-replace\-\_\-at@{eina\-\_\-inarray\-\_\-replace\-\_\-at}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-replace\-\_\-at}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\-\_\-\-Bool} eina\-\_\-inarray\-\_\-replace\-\_\-at (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Inarray} $\ast$}]{array, }
\item[{unsigned int}]{position, }
\item[{const void $\ast$}]{data}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_gab8fc65cb1a9f7736343f3f6b7e1639ca}


Copy the data over the given position. 


\begin{DoxyParams}{Parameters}
{\em array} & array object \\
\hline
{\em position} & where to replace the member \\
\hline
{\em data} & data to be copied at position \\
\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} on failure.
\end{DoxyReturn}
Copies the given pointer contents at the given {\itshape position} in the array. The pointer is not referenced, instead it's contents is copied to the members array using the previously defined {\ttfamily member\-\_\-size}.

If {\itshape position} does not exist, it will fail.

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


References E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E, E\-I\-N\-A\-\_\-\-T\-R\-U\-E, \-\_\-\-Eina\-\_\-\-Inarray\-::len, and \-\_\-\-Eina\-\_\-\-Inarray\-::member\-\_\-size.

\hypertarget{group__Eina__Inline__Array__Group_gad7fe9f774d769433c6285af1f8f94767}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-remove\-\_\-at@{eina\-\_\-inarray\-\_\-remove\-\_\-at}}
\index{eina\-\_\-inarray\-\_\-remove\-\_\-at@{eina\-\_\-inarray\-\_\-remove\-\_\-at}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-remove\-\_\-at}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\-\_\-\-Bool} eina\-\_\-inarray\-\_\-remove\-\_\-at (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Inarray} $\ast$}]{array, }
\item[{unsigned int}]{position}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_gad7fe9f774d769433c6285af1f8f94767}


Remove member at given position. 


\begin{DoxyParams}{Parameters}
{\em array} & array object \\
\hline
{\em position} & position to be removed \\
\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} on failure.
\end{DoxyReturn}
The member is removed from array and any members after it are moved towards the array head.

See also \hyperlink{group__Eina__Inline__Array__Group_ga629fc0146641254b62562f6bef2f01ad}{eina\-\_\-inarray\-\_\-pop()} and \hyperlink{group__Eina__Inline__Array__Group_ga4075a8845cdc9ea50df235e331f079fc}{eina\-\_\-inarray\-\_\-remove()}.

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


References E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E, E\-I\-N\-A\-\_\-\-T\-R\-U\-E, \-\_\-\-Eina\-\_\-\-Inarray\-::len, and \-\_\-\-Eina\-\_\-\-Inarray\-::member\-\_\-size.



Referenced by eina\-\_\-inarray\-\_\-foreach\-\_\-remove(), and eina\-\_\-inarray\-\_\-remove().

\hypertarget{group__Eina__Inline__Array__Group_gafcd0b1b94629685b082e5ffa0c9a0b00}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-reverse@{eina\-\_\-inarray\-\_\-reverse}}
\index{eina\-\_\-inarray\-\_\-reverse@{eina\-\_\-inarray\-\_\-reverse}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-reverse}]{\setlength{\rightskip}{0pt plus 5cm}void eina\-\_\-inarray\-\_\-reverse (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Inarray} $\ast$}]{array}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_gafcd0b1b94629685b082e5ffa0c9a0b00}


Reverse members in the array. 


\begin{DoxyParams}{Parameters}
{\em array} & array object\\
\hline
\end{DoxyParams}
If you do not want to change the array, just walk its elements backwards, then use \hyperlink{group__Eina__Inline__Array__Group_ga0bfd07aebdb03651a901f3ba6b8e50cb}{E\-I\-N\-A\-\_\-\-I\-N\-A\-R\-R\-A\-Y\-\_\-\-R\-E\-V\-E\-R\-S\-E\-\_\-\-F\-O\-R\-E\-A\-C\-H()} macro.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Eina__Inline__Array__Group_ga0bfd07aebdb03651a901f3ba6b8e50cb}{E\-I\-N\-A\-\_\-\-I\-N\-A\-R\-R\-A\-Y\-\_\-\-R\-E\-V\-E\-R\-S\-E\-\_\-\-F\-O\-R\-E\-A\-C\-H()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}


References \-\_\-\-Eina\-\_\-\-Inarray\-::len, \-\_\-\-Eina\-\_\-\-Inarray\-::member\-\_\-size, and \-\_\-\-Eina\-\_\-\-Inarray\-::members.

\hypertarget{group__Eina__Inline__Array__Group_ga485250d8aef53c5648238e94987f58cc}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-sort@{eina\-\_\-inarray\-\_\-sort}}
\index{eina\-\_\-inarray\-\_\-sort@{eina\-\_\-inarray\-\_\-sort}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-sort}]{\setlength{\rightskip}{0pt plus 5cm}void eina\-\_\-inarray\-\_\-sort (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Inarray} $\ast$}]{array, }
\item[{{\bf Eina\-\_\-\-Compare\-\_\-\-Cb}}]{compare}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_ga485250d8aef53c5648238e94987f58cc}


Applies quick sort to array. 


\begin{DoxyParams}{Parameters}
{\em array} & array object \\
\hline
{\em compare} & compare function\\
\hline
\end{DoxyParams}
Applies quick sort to the {\itshape array}.

The data given to {\itshape compare} function are the pointer to member memory itself, do no change it.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Eina__Inline__Array__Group_ga3dfa2e214c3cf3363f6ed390da4221c3}{eina\-\_\-inarray\-\_\-insert\-\_\-sorted()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}


References \-\_\-\-Eina\-\_\-\-Inarray\-::len, \-\_\-\-Eina\-\_\-\-Inarray\-::member\-\_\-size, and \-\_\-\-Eina\-\_\-\-Inarray\-::members.

\hypertarget{group__Eina__Inline__Array__Group_gadbd0ce893a32d7d24ff7662a15d88c5b}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-search@{eina\-\_\-inarray\-\_\-search}}
\index{eina\-\_\-inarray\-\_\-search@{eina\-\_\-inarray\-\_\-search}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-search}]{\setlength{\rightskip}{0pt plus 5cm}int eina\-\_\-inarray\-\_\-search (
\begin{DoxyParamCaption}
\item[{const {\bf Eina\-\_\-\-Inarray} $\ast$}]{array, }
\item[{const void $\ast$}]{data, }
\item[{{\bf Eina\-\_\-\-Compare\-\_\-\-Cb}}]{compare}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_gadbd0ce893a32d7d24ff7662a15d88c5b}


Search member (linear walk) 


\begin{DoxyParams}{Parameters}
{\em array} & array object \\
\hline
{\em data} & member to search using {\itshape compare} function. \\
\hline
{\em compare} & compare function \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the member index or -\/1 if not found.
\end{DoxyReturn}
Walks array linearly looking for given data as compared by {\itshape compare} function.

The data given to {\itshape compare} function are the pointer to member memory itself, do no change it.

See also eina\-\_\-inarray\-\_\-lookup\-\_\-sorted().

\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}
\hypertarget{group__Eina__Inline__Array__Group_gadd55e832494d0c261fd6e6604abb6cf6}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-search\-\_\-sorted@{eina\-\_\-inarray\-\_\-search\-\_\-sorted}}
\index{eina\-\_\-inarray\-\_\-search\-\_\-sorted@{eina\-\_\-inarray\-\_\-search\-\_\-sorted}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-search\-\_\-sorted}]{\setlength{\rightskip}{0pt plus 5cm}int eina\-\_\-inarray\-\_\-search\-\_\-sorted (
\begin{DoxyParamCaption}
\item[{const {\bf Eina\-\_\-\-Inarray} $\ast$}]{array, }
\item[{const void $\ast$}]{data, }
\item[{{\bf Eina\-\_\-\-Compare\-\_\-\-Cb}}]{compare}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_gadd55e832494d0c261fd6e6604abb6cf6}


Search member (binary search walk) 


\begin{DoxyParams}{Parameters}
{\em array} & array object \\
\hline
{\em data} & member to search using {\itshape compare} function. \\
\hline
{\em compare} & compare function \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the member index or {\ttfamily -\/1} if not found.
\end{DoxyReturn}
Uses binary search for given data as compared by {\itshape compare} function.

The data given to {\itshape compare} function are the pointer to member memory itself, do no change it.

\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}
\hypertarget{group__Eina__Inline__Array__Group_gade02e41769a458138559110b33a7041b}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-foreach@{eina\-\_\-inarray\-\_\-foreach}}
\index{eina\-\_\-inarray\-\_\-foreach@{eina\-\_\-inarray\-\_\-foreach}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-foreach}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\-\_\-\-Bool} eina\-\_\-inarray\-\_\-foreach (
\begin{DoxyParamCaption}
\item[{const {\bf Eina\-\_\-\-Inarray} $\ast$}]{array, }
\item[{{\bf Eina\-\_\-\-Each\-\_\-\-Cb}}]{function, }
\item[{const void $\ast$}]{user\-\_\-data}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_gade02e41769a458138559110b33a7041b}


Call function for each array member. 


\begin{DoxyParams}{Parameters}
{\em array} & array object \\
\hline
{\em function} & callback function \\
\hline
{\em user\-\_\-data} & user data given to callback {\itshape function} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\-I\-N\-A\-\_\-\-T\-R\-U\-E} if it successfully iterate all items of the array.
\end{DoxyReturn}
Call {\itshape function} for every given data in {\itshape array}.

Safe way to iterate over an array. {\ttfamily function} should return \hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\-I\-N\-A\-\_\-\-T\-R\-U\-E} as long as you want the function to continue iterating, by returning \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} it will stop and return \hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E} as a result.

The data given to {\itshape function} are the pointer to member memory itself.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Eina__Inline__Array__Group_gab6ffcad27b5099aa34af9ecd5e2b22f9}{E\-I\-N\-A\-\_\-\-I\-N\-A\-R\-R\-A\-Y\-\_\-\-F\-O\-R\-E\-A\-C\-H()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}


References E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E, E\-I\-N\-A\-\_\-\-T\-R\-U\-E, \-\_\-\-Eina\-\_\-\-Inarray\-::len, \-\_\-\-Eina\-\_\-\-Inarray\-::member\-\_\-size, and \-\_\-\-Eina\-\_\-\-Inarray\-::members.

\hypertarget{group__Eina__Inline__Array__Group_gaec7f8b31af8c68f0e48e5aab20e4f9e8}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-foreach\-\_\-remove@{eina\-\_\-inarray\-\_\-foreach\-\_\-remove}}
\index{eina\-\_\-inarray\-\_\-foreach\-\_\-remove@{eina\-\_\-inarray\-\_\-foreach\-\_\-remove}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-foreach\-\_\-remove}]{\setlength{\rightskip}{0pt plus 5cm}int eina\-\_\-inarray\-\_\-foreach\-\_\-remove (
\begin{DoxyParamCaption}
\item[{{\bf Eina\-\_\-\-Inarray} $\ast$}]{array, }
\item[{{\bf Eina\-\_\-\-Each\-\_\-\-Cb}}]{match, }
\item[{const void $\ast$}]{user\-\_\-data}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_gaec7f8b31af8c68f0e48e5aab20e4f9e8}


Remove all members that matched. 


\begin{DoxyParams}{Parameters}
{\em array} & array object \\
\hline
{\em match} & match function \\
\hline
{\em user\-\_\-data} & user data given to callback {\itshape match}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
number of removed entries or -\/1 on error.
\end{DoxyReturn}
Remove all entries in the {\itshape array} where {\itshape match} function returns \hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\-I\-N\-A\-\_\-\-T\-R\-U\-E}.

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


References E\-I\-N\-A\-\_\-\-F\-A\-L\-S\-E, and eina\-\_\-inarray\-\_\-remove\-\_\-at().

\hypertarget{group__Eina__Inline__Array__Group_gaf6d3ce4a7b0b8e521e2c91024065d97d}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-count@{eina\-\_\-inarray\-\_\-count}}
\index{eina\-\_\-inarray\-\_\-count@{eina\-\_\-inarray\-\_\-count}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-count}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int eina\-\_\-inarray\-\_\-count (
\begin{DoxyParamCaption}
\item[{const {\bf Eina\-\_\-\-Inarray} $\ast$}]{array}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_gaf6d3ce4a7b0b8e521e2c91024065d97d}


number of members in array. 


\begin{DoxyParams}{Parameters}
{\em array} & array object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
number of members in array.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}


References \-\_\-\-Eina\-\_\-\-Inarray\-::len.

\hypertarget{group__Eina__Inline__Array__Group_gaf7e53fb490de491d5779e611eeef5b75}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-iterator\-\_\-new@{eina\-\_\-inarray\-\_\-iterator\-\_\-new}}
\index{eina\-\_\-inarray\-\_\-iterator\-\_\-new@{eina\-\_\-inarray\-\_\-iterator\-\_\-new}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-iterator\-\_\-new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\-\_\-\-Iterator}$\ast$ eina\-\_\-inarray\-\_\-iterator\-\_\-new (
\begin{DoxyParamCaption}
\item[{const {\bf Eina\-\_\-\-Inarray} $\ast$}]{array}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_gaf7e53fb490de491d5779e611eeef5b75}


Returned a new iterator associated to an array. 


\begin{DoxyParams}{Parameters}
{\em array} & array object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A new iterator.
\end{DoxyReturn}
This function returns a newly allocated iterator associated to {\ttfamily array}.

If the memory can not be allocated, {\ttfamily N\-U\-L\-L} is returned. Otherwise, a valid iterator is returned.

\begin{DoxyWarning}{Warning}
if the array structure changes then the iterator becomes invalid! That is, if you add or remove members this iterator behavior is undefined and your program may crash!
\end{DoxyWarning}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}


References E\-I\-N\-A\-\_\-\-M\-A\-G\-I\-C\-\_\-\-S\-E\-T, F\-U\-N\-C\-\_\-\-I\-T\-E\-R\-A\-T\-O\-R\-\_\-\-F\-R\-E\-E, F\-U\-N\-C\-\_\-\-I\-T\-E\-R\-A\-T\-O\-R\-\_\-\-G\-E\-T\-\_\-\-C\-O\-N\-T\-A\-I\-N\-E\-R, F\-U\-N\-C\-\_\-\-I\-T\-E\-R\-A\-T\-O\-R\-\_\-\-N\-E\-X\-T, and \-\_\-\-Eina\-\_\-\-Inarray\-::version.

\hypertarget{group__Eina__Inline__Array__Group_gaa02b6292b00d705ed7c0a5f442362869}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-iterator\-\_\-reversed\-\_\-new@{eina\-\_\-inarray\-\_\-iterator\-\_\-reversed\-\_\-new}}
\index{eina\-\_\-inarray\-\_\-iterator\-\_\-reversed\-\_\-new@{eina\-\_\-inarray\-\_\-iterator\-\_\-reversed\-\_\-new}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-iterator\-\_\-reversed\-\_\-new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\-\_\-\-Iterator}$\ast$ eina\-\_\-inarray\-\_\-iterator\-\_\-reversed\-\_\-new (
\begin{DoxyParamCaption}
\item[{const {\bf Eina\-\_\-\-Inarray} $\ast$}]{array}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_gaa02b6292b00d705ed7c0a5f442362869}


Returned a new reversed iterator associated to an array. 


\begin{DoxyParams}{Parameters}
{\em array} & array object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A new iterator.
\end{DoxyReturn}
This function returns a newly allocated iterator associated to {\ttfamily array}.

Unlike \hyperlink{group__Eina__Inline__Array__Group_gaf7e53fb490de491d5779e611eeef5b75}{eina\-\_\-inarray\-\_\-iterator\-\_\-new()}, this will walk the array backwards.

If the memory can not be allocated, {\ttfamily N\-U\-L\-L} is returned Otherwise, a valid iterator is returned.

\begin{DoxyWarning}{Warning}
if the array structure changes then the iterator becomes invalid! That is, if you add or remove nodes this iterator behavior is undefined and your program may crash!
\end{DoxyWarning}
\begin{DoxySince}{Since}
1.\-2 
\end{DoxySince}


References E\-I\-N\-A\-\_\-\-M\-A\-G\-I\-C\-\_\-\-S\-E\-T, F\-U\-N\-C\-\_\-\-I\-T\-E\-R\-A\-T\-O\-R\-\_\-\-F\-R\-E\-E, F\-U\-N\-C\-\_\-\-I\-T\-E\-R\-A\-T\-O\-R\-\_\-\-G\-E\-T\-\_\-\-C\-O\-N\-T\-A\-I\-N\-E\-R, F\-U\-N\-C\-\_\-\-I\-T\-E\-R\-A\-T\-O\-R\-\_\-\-N\-E\-X\-T, and \-\_\-\-Eina\-\_\-\-Inarray\-::len.

\hypertarget{group__Eina__Inline__Array__Group_ga29874e297950b36e3be8fa0fbc0e24d1}{\index{Inline Array@{Inline Array}!eina\-\_\-inarray\-\_\-accessor\-\_\-new@{eina\-\_\-inarray\-\_\-accessor\-\_\-new}}
\index{eina\-\_\-inarray\-\_\-accessor\-\_\-new@{eina\-\_\-inarray\-\_\-accessor\-\_\-new}!Inline Array@{Inline Array}}
\subsubsection[{eina\-\_\-inarray\-\_\-accessor\-\_\-new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\-\_\-\-Accessor}$\ast$ eina\-\_\-inarray\-\_\-accessor\-\_\-new (
\begin{DoxyParamCaption}
\item[{const {\bf Eina\-\_\-\-Inarray} $\ast$}]{array}
\end{DoxyParamCaption}
)}}\label{group__Eina__Inline__Array__Group_ga29874e297950b36e3be8fa0fbc0e24d1}


Returned a new accessor associated to an array. 


\begin{DoxyParams}{Parameters}
{\em array} & array object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A new accessor.
\end{DoxyReturn}
This function returns a newly allocated accessor associated to {\ttfamily array}.

If the memory can not be allocated, {\ttfamily N\-U\-L\-L} is returned. Otherwise, a valid accessor is returned.

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


References E\-I\-N\-A\-\_\-\-M\-A\-G\-I\-C\-\_\-\-S\-E\-T, F\-U\-N\-C\-\_\-\-A\-C\-C\-E\-S\-S\-O\-R\-\_\-\-F\-R\-E\-E, F\-U\-N\-C\-\_\-\-A\-C\-C\-E\-S\-S\-O\-R\-\_\-\-G\-E\-T\-\_\-\-A\-T, F\-U\-N\-C\-\_\-\-A\-C\-C\-E\-S\-S\-O\-R\-\_\-\-G\-E\-T\-\_\-\-C\-O\-N\-T\-A\-I\-N\-E\-R, and \-\_\-\-Eina\-\_\-\-Inarray\-::version.

