\hypertarget{group__Eina__Inline__List__Group}{}\doxysection{Inline List}
\label{group__Eina__Inline__List__Group}\index{Inline List@{Inline List}}


These functions provide inline list management.  


\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__Eina__Inlist}{\+\_\+\+Eina\+\_\+\+Inlist}}
\begin{DoxyCompactList}\small\item\em Inlined list type. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Eina__Inline__List__Group_gab30a76fcfa50307c797491705d60136a}\label{group__Eina__Inline__List__Group_gab30a76fcfa50307c797491705d60136a}} 
\#define {\bfseries EINA\+\_\+\+INLIST}~\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} \+\_\+\+\_\+in\+\_\+list
\begin{DoxyCompactList}\small\item\em Used for declaring an inlist member in a struct. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eina__Inline__List__Group_ga5bc991428e75557c6195f6b9e38321fb}\label{group__Eina__Inline__List__Group_ga5bc991428e75557c6195f6b9e38321fb}} 
\#define {\bfseries EINA\+\_\+\+INLIST\+\_\+\+GET}(Inlist)~(\& ((Inlist)-\/$>$\+\_\+\+\_\+in\+\_\+list))
\begin{DoxyCompactList}\small\item\em Utility macro to get the inlist object of a struct. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__Eina__Inline__List__Group_ga8c4e6011e7caa9ec5c22b003c4950338}{EINA\+\_\+\+INLIST\+\_\+\+CONTAINER\+\_\+\+GET}}(ptr,  type)
\begin{DoxyCompactList}\small\item\em Utility macro to get the container object of an inlist. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__Eina__Inline__List__Group_ga537030c4eea1e4d7cfccd5f4a5c48707}{\+\_\+\+EINA\+\_\+\+INLIST\+\_\+\+OFFSET}}(ref)~((char $\ast$)\&(ref)-\/$>$\+\_\+\+\_\+in\+\_\+list -\/ (char $\ast$)(ref))
\item 
\#define \mbox{\hyperlink{group__Eina__Inline__List__Group_ga02aaf0449fa7b4e296ebd00005fa1334}{\+\_\+\+EINA\+\_\+\+INLIST\+\_\+\+CONTAINER}}(ref,  ptr)
\item 
\#define \mbox{\hyperlink{group__Eina__Inline__List__Group_ga65e496b9b16d527d23c1d735652b4e62}{EINA\+\_\+\+INLIST\+\_\+\+FOREACH}}(list,  it)
\item 
\#define \mbox{\hyperlink{group__Eina__Inline__List__Group_ga11145a77c8fabbaa397d33912d0a39c5}{EINA\+\_\+\+INLIST\+\_\+\+FOREACH\+\_\+\+SAFE}}(list,  list2,  it)
\item 
\#define \mbox{\hyperlink{group__Eina__Inline__List__Group_gafa10a318f6f3c5e734e08bb4d48ca3f6}{EINA\+\_\+\+INLIST\+\_\+\+REVERSE\+\_\+\+FOREACH}}(list,  it)
\item 
\#define \mbox{\hyperlink{group__Eina__Inline__List__Group_gafc3e2cfc56097689afa7007af91d2a7e}{EINA\+\_\+\+INLIST\+\_\+\+REVERSE\+\_\+\+FOREACH\+\_\+\+FROM}}(list,  it)
\item 
\#define \mbox{\hyperlink{group__Eina__Inline__List__Group_gae31673f53e99c2fc55720b7144e9f293}{EINA\+\_\+\+INLIST\+\_\+\+FREE}}(list,  it)~  for (it = (\+\_\+\+\_\+typeof\+\_\+\+\_\+(it)) list; list; it = (\+\_\+\+\_\+typeof\+\_\+\+\_\+(it)) list)
\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}\label{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}} 
typedef struct \mbox{\hyperlink{struct__Eina__Inlist}{\+\_\+\+Eina\+\_\+\+Inlist}} {\bfseries Eina\+\_\+\+Inlist}
\begin{DoxyCompactList}\small\item\em Inlined list type. \end{DoxyCompactList}\item 
typedef struct \+\_\+\+Eina\+\_\+\+Inlist\+\_\+\+Sorted\+\_\+\+State \mbox{\hyperlink{group__Eina__Inline__List__Group_gae16e1ec496f4f97f74225f070cd09b93}{Eina\+\_\+\+Inlist\+\_\+\+Sorted\+\_\+\+State}}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ \mbox{\hyperlink{group__Eina__Inline__List__Group_gaef650e653f43178ecfee2c661bea7a85}{eina\+\_\+inlist\+\_\+append}} (\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$in\+\_\+list, \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$in\+\_\+item)
\begin{DoxyCompactList}\small\item\em Adds a new node to end of a list. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ \mbox{\hyperlink{group__Eina__Inline__List__Group_ga2cbaa546cd6224dde756d43a603ef463}{eina\+\_\+inlist\+\_\+prepend}} (\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$in\+\_\+list, \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$in\+\_\+item)
\begin{DoxyCompactList}\small\item\em Adds a new node to beginning of list. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ \mbox{\hyperlink{group__Eina__Inline__List__Group_ga8bb0dbd2cd2ce2a39453d645239f9270}{eina\+\_\+inlist\+\_\+append\+\_\+relative}} (\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$in\+\_\+list, \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$in\+\_\+item, \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$in\+\_\+relative)
\begin{DoxyCompactList}\small\item\em Adds a new node after the given relative item in list. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ \mbox{\hyperlink{group__Eina__Inline__List__Group_ga116e6960648d7a094c3948030035df78}{eina\+\_\+inlist\+\_\+prepend\+\_\+relative}} (\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$in\+\_\+list, \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$in\+\_\+item, \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$in\+\_\+relative)
\begin{DoxyCompactList}\small\item\em Adds a new node before the given relative item in list. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ \mbox{\hyperlink{group__Eina__Inline__List__Group_gaf885b08d5b5a750a901f3780d3c65338}{eina\+\_\+inlist\+\_\+remove}} (\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$in\+\_\+list, \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$in\+\_\+item)
\begin{DoxyCompactList}\small\item\em Removes node from list. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ \mbox{\hyperlink{group__Eina__Inline__List__Group_ga22491df4219f390595c535463936510e}{eina\+\_\+inlist\+\_\+find}} (\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$in\+\_\+list, \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$in\+\_\+item)
\begin{DoxyCompactList}\small\item\em Finds given node in list, returns itself if found, NULL if not. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ \mbox{\hyperlink{group__Eina__Inline__List__Group_gaeb798d318196989b95cc1a7801c2f364}{eina\+\_\+inlist\+\_\+promote}} (\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$list, \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$item)
\begin{DoxyCompactList}\small\item\em Moves existing node to beginning of list. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ \mbox{\hyperlink{group__Eina__Inline__List__Group_gaf2aee0bfc3a6f3a6cd4da210908ab86f}{eina\+\_\+inlist\+\_\+demote}} (\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$list, \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$item)
\begin{DoxyCompactList}\small\item\em Moves existing node to end of list. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ \mbox{\hyperlink{group__Eina__Inline__List__Group_gaad7a419d891ecdc97f998cdc23a99457}{eina\+\_\+inlist\+\_\+first}} (const \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$list)
\begin{DoxyCompactList}\small\item\em Gets the first list node in the list. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ \mbox{\hyperlink{group__Eina__Inline__List__Group_ga9d112b19d8b0a7f16351944b331a4b17}{eina\+\_\+inlist\+\_\+last}} (const \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$list)
\begin{DoxyCompactList}\small\item\em Gets the last list node in the list. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} unsigned int \mbox{\hyperlink{group__Eina__Inline__List__Group_ga3039bdea008dcb10d52f648d154690f8}{eina\+\_\+inlist\+\_\+count}} (const \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$list)
\begin{DoxyCompactList}\small\item\em Gets the count of the number of items in a list. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\+\_\+\+Iterator}} $\ast$ \mbox{\hyperlink{group__Eina__Inline__List__Group_ga27c969f3379fc3564288fa416a6ec002}{eina\+\_\+inlist\+\_\+iterator\+\_\+new}} (const \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$in\+\_\+list)
\begin{DoxyCompactList}\small\item\em Returns a new iterator associated to {\itshape list}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Accessor__Group_ga65199ea5201a1867471028477dc26744}{Eina\+\_\+\+Accessor}} $\ast$ \mbox{\hyperlink{group__Eina__Inline__List__Group_gaa864597e46d704713fdfd8cd59d207fb}{eina\+\_\+inlist\+\_\+accessor\+\_\+new}} (const \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$in\+\_\+list)
\begin{DoxyCompactList}\small\item\em Returns a new accessor associated to a list. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ \mbox{\hyperlink{group__Eina__Inline__List__Group_ga7c541686db382d473d0cba9e0a8f633e}{eina\+\_\+inlist\+\_\+sorted\+\_\+insert}} (\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$list, \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$item, \mbox{\hyperlink{group__Eina__Types__Group_ga1b31ffcc0d46eed63a2381c5a011b486}{Eina\+\_\+\+Compare\+\_\+\+Cb}} func)
\begin{DoxyCompactList}\small\item\em Inserts a new node into a sorted list. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gae16e1ec496f4f97f74225f070cd09b93}{Eina\+\_\+\+Inlist\+\_\+\+Sorted\+\_\+\+State}} $\ast$ \mbox{\hyperlink{group__Eina__Inline__List__Group_gac90bccf34dd6ab15c8a969fa24d1858a}{eina\+\_\+inlist\+\_\+sorted\+\_\+state\+\_\+new}} (void)
\begin{DoxyCompactList}\small\item\em Creates state with valid data in it. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} int \mbox{\hyperlink{group__Eina__Inline__List__Group_ga67262fcdc659f1a8ca424fecbb8c3b89}{eina\+\_\+inlist\+\_\+sorted\+\_\+state\+\_\+init}} (\mbox{\hyperlink{group__Eina__Inline__List__Group_gae16e1ec496f4f97f74225f070cd09b93}{Eina\+\_\+\+Inlist\+\_\+\+Sorted\+\_\+\+State}} $\ast$state, \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$list)
\begin{DoxyCompactList}\small\item\em Forces an Eina\+\_\+\+Inlist\+\_\+\+Sorted\+\_\+\+State to match the content of a list. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} void \mbox{\hyperlink{group__Eina__Inline__List__Group_gab8e2c496d4dba8eef0732fbde82df908}{eina\+\_\+inlist\+\_\+sorted\+\_\+state\+\_\+free}} (\mbox{\hyperlink{group__Eina__Inline__List__Group_gae16e1ec496f4f97f74225f070cd09b93}{Eina\+\_\+\+Inlist\+\_\+\+Sorted\+\_\+\+State}} $\ast$state)
\begin{DoxyCompactList}\small\item\em Frees an Eina\+\_\+\+Inlist\+\_\+\+Sorted\+\_\+\+State. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ \mbox{\hyperlink{group__Eina__Inline__List__Group_gad5252fcbee66f60598795e718ce1dcf2}{eina\+\_\+inlist\+\_\+sorted\+\_\+state\+\_\+insert}} (\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$list, \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$item, \mbox{\hyperlink{group__Eina__Types__Group_ga1b31ffcc0d46eed63a2381c5a011b486}{Eina\+\_\+\+Compare\+\_\+\+Cb}} func, \mbox{\hyperlink{group__Eina__Inline__List__Group_gae16e1ec496f4f97f74225f070cd09b93}{Eina\+\_\+\+Inlist\+\_\+\+Sorted\+\_\+\+State}} $\ast$state)
\begin{DoxyCompactList}\small\item\em Inserts a new node into a sorted list. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ \mbox{\hyperlink{group__Eina__Inline__List__Group_ga33c8505a9217369cb0b4fdc7118776a9}{eina\+\_\+inlist\+\_\+sort}} (\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$head, \mbox{\hyperlink{group__Eina__Types__Group_ga1b31ffcc0d46eed63a2381c5a011b486}{Eina\+\_\+\+Compare\+\_\+\+Cb}} func)
\begin{DoxyCompactList}\small\item\em Sorts a list according to the ordering func will return. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
These functions provide inline list management. 

Inline lists mean its nodes pointers are part of same memory as data. This has the benefit of fragmenting memory less and avoiding {\ttfamily node-\/\texorpdfstring{$>$}{>}data} indirection, but has the drawback of higher cost for some common operations like count and sort.

It is possible to have inlist nodes to be part of regular lists, created with \mbox{\hyperlink{group__Eina__List__Group_ga625698a383dda8fc0db245a1c7608c49}{eina\+\_\+list\+\_\+append()}} or \mbox{\hyperlink{group__Eina__List__Group_ga4a2716e8fba1c3f60e3b112caef26fb9}{eina\+\_\+list\+\_\+prepend()}}. It\textquotesingle{}s also possible to have a structure with two inlist pointers, thus be part of two different inlists at the same time, but the current convenience macros provided won\textquotesingle{}t work for both of them. Consult \mbox{\hyperlink{group__Eina__Inline__List__Group_inlist_advanced}{Advanced Usage}} for more info.

Inline lists have their purposes, but if you don\textquotesingle{}t know what those purposes are, go with regular lists instead.

Tip\+: When using inlists in more than one place (that is, passing them around functions or keeping a pointer to them in a structure) it\textquotesingle{}s more correct to keep a pointer to the first container, and not a pointer to the first inlist item (mostly they are the same, but that\textquotesingle{}s not always correct). This lets the compiler to do type checking and let the programmer know exactly what type this list is.

A simple example demonstrating the basic usage of an inlist can be found here\+: \mbox{\hyperlink{eina_inlist_01_example_page}{Eina\+\_\+\+Inlist basic usage}}\hypertarget{group__Eina__Inline__List__Group_inlist_algo}{}\doxysubsection{Algorithm}\label{group__Eina__Inline__List__Group_inlist_algo}
The basic structure can be represented by the following picture\+:

  
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth,height=\textheight/2,keepaspectratio=true]{eina_inlist-node}}
\end{DoxyImageNoCaption}


One data structure will also have the node information, with three pointers\+: {\itshape prev}, {\itshape next} and {\itshape last}. The {\itshape last} pointer is just valid for the first element (the list head), otherwise each insertion in the list would have to be done updating every node with the correct pointer. This means that it\textquotesingle{}s always very important to keep a pointer to the first element of the list, since it is the only one that has the correct information to allow a proper O(1) append to the list.\hypertarget{group__Eina__Inline__List__Group_inlist_perf}{}\doxysubsection{Performance}\label{group__Eina__Inline__List__Group_inlist_perf}
Due to the nature of the inlist, there\textquotesingle{}s no accounting information, and no easy access to the last element from each list node. This means that \mbox{\hyperlink{group__Eina__Inline__List__Group_ga3039bdea008dcb10d52f648d154690f8}{eina\+\_\+inlist\+\_\+count()}} is order-\/N, while eina\+\_\+list\+\_\+count() is order-\/1 (constant time).\hypertarget{group__Eina__Inline__List__Group_inlist_advanced}{}\doxysubsection{Advanced Usage}\label{group__Eina__Inline__List__Group_inlist_advanced}
The basic usage considers a struct that will have the user data, and also have an inlist node information (prev, next and last pointers) created with \mbox{\hyperlink{group__Eina__Inline__List__Group_gab30a76fcfa50307c797491705d60136a}{EINA\+\_\+\+INLIST}} during the struct declaration. This allows one to use the convenience macros \mbox{\hyperlink{group__Eina__Inline__List__Group_ga5bc991428e75557c6195f6b9e38321fb}{EINA\+\_\+\+INLIST\+\_\+\+GET()}}, \mbox{\hyperlink{group__Eina__Inline__List__Group_ga8c4e6011e7caa9ec5c22b003c4950338}{EINA\+\_\+\+INLIST\+\_\+\+CONTAINER\+\_\+\+GET()}}, \mbox{\hyperlink{group__Eina__Inline__List__Group_ga65e496b9b16d527d23c1d735652b4e62}{EINA\+\_\+\+INLIST\+\_\+\+FOREACH()}} and so. This happens because the \mbox{\hyperlink{group__Eina__Inline__List__Group_gab30a76fcfa50307c797491705d60136a}{EINA\+\_\+\+INLIST}} macro declares a struct member with the name {\itshape \+\_\+\+\_\+inlist}, and all the other macros assume that this struct member has this name.

It may be the case that someone needs to have some inlist nodes added to a \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} too. If this happens, the inlist nodes can be added to the \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} without any problems. This example demonstrates this case\+: \mbox{\hyperlink{eina_inlist_02_example_page}{Eina\+\_\+\+Inlist advanced usage -\/ lists and inlists}}

It\textquotesingle{}s also possible to have some data that is part of two different inlists. If this is the case, then it won\textquotesingle{}t be possible to use the convenience macros to both of the lists. It will be necessary to create a new set of macros that will allow access to the second list node info. An example for this usage can be found here\+: \mbox{\hyperlink{eina_inlist_03_example_page}{Eina\+\_\+\+Inlist advanced usage -\/ multi-\/inlists}}

List of examples\+: \begin{DoxyItemize}
\item \mbox{\hyperlink{eina_inlist_01_example_page}{Eina\+\_\+\+Inlist basic usage}} \item \mbox{\hyperlink{eina_inlist_02_example_page}{Eina\+\_\+\+Inlist advanced usage -\/ lists and inlists}} \item \mbox{\hyperlink{eina_inlist_03_example_page}{Eina\+\_\+\+Inlist advanced usage -\/ multi-\/inlists}} \end{DoxyItemize}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{group__Eina__Inline__List__Group_ga8c4e6011e7caa9ec5c22b003c4950338}\label{group__Eina__Inline__List__Group_ga8c4e6011e7caa9ec5c22b003c4950338}} 
\index{Inline List@{Inline List}!EINA\_INLIST\_CONTAINER\_GET@{EINA\_INLIST\_CONTAINER\_GET}}
\index{EINA\_INLIST\_CONTAINER\_GET@{EINA\_INLIST\_CONTAINER\_GET}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{EINA\_INLIST\_CONTAINER\_GET}{EINA\_INLIST\_CONTAINER\_GET}}
{\footnotesize\ttfamily \#define EINA\+\_\+\+INLIST\+\_\+\+CONTAINER\+\_\+\+GET(\begin{DoxyParamCaption}\item[{}]{ptr,  }\item[{}]{type }\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((type\ *)(\textcolor{keywordtype}{void}\ *)((\textcolor{keywordtype}{char}\ *)ptr\ -\/\ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ offsetof(type,\ \_\_in\_list)))}

\end{DoxyCode}


Utility macro to get the container object of an inlist. 

\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{eina_inlist_01_8c-example}{eina\+\_\+inlist\+\_\+01.\+c}}, \mbox{\hyperlink{eina_inlist_02_8c-example}{eina\+\_\+inlist\+\_\+02.\+c}}, and \mbox{\hyperlink{eina_inlist_03_8c-example}{eina\+\_\+inlist\+\_\+03.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Eina__Inline__List__Group_ga537030c4eea1e4d7cfccd5f4a5c48707}\label{group__Eina__Inline__List__Group_ga537030c4eea1e4d7cfccd5f4a5c48707}} 
\index{Inline List@{Inline List}!\_EINA\_INLIST\_OFFSET@{\_EINA\_INLIST\_OFFSET}}
\index{\_EINA\_INLIST\_OFFSET@{\_EINA\_INLIST\_OFFSET}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{\_EINA\_INLIST\_OFFSET}{\_EINA\_INLIST\_OFFSET}}
{\footnotesize\ttfamily \#define \+\_\+\+EINA\+\_\+\+INLIST\+\_\+\+OFFSET(\begin{DoxyParamCaption}\item[{}]{ref }\end{DoxyParamCaption})~((char $\ast$)\&(ref)-\/$>$\+\_\+\+\_\+in\+\_\+list -\/ (char $\ast$)(ref))}


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em ref} & The reference to be used. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Eina__Inline__List__Group_ga02aaf0449fa7b4e296ebd00005fa1334}\label{group__Eina__Inline__List__Group_ga02aaf0449fa7b4e296ebd00005fa1334}} 
\index{Inline List@{Inline List}!\_EINA\_INLIST\_CONTAINER@{\_EINA\_INLIST\_CONTAINER}}
\index{\_EINA\_INLIST\_CONTAINER@{\_EINA\_INLIST\_CONTAINER}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{\_EINA\_INLIST\_CONTAINER}{\_EINA\_INLIST\_CONTAINER}}
{\footnotesize\ttfamily \#define \+\_\+\+EINA\+\_\+\+INLIST\+\_\+\+CONTAINER(\begin{DoxyParamCaption}\item[{}]{ref,  }\item[{}]{ptr }\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\textcolor{keywordtype}{void}\ *)((\textcolor{keywordtype}{char}\ *)(ptr)\ -\/\ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{group__Eina__Inline__List__Group_ga537030c4eea1e4d7cfccd5f4a5c48707}{\_EINA\_INLIST\_OFFSET}}(ref))}

\end{DoxyCode}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em ref} & The reference to be used. \\
\hline
\mbox{\texttt{ out}}  & {\em ptr} & The pointer to be used. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Eina__Inline__List__Group_ga65e496b9b16d527d23c1d735652b4e62}\label{group__Eina__Inline__List__Group_ga65e496b9b16d527d23c1d735652b4e62}} 
\index{Inline List@{Inline List}!EINA\_INLIST\_FOREACH@{EINA\_INLIST\_FOREACH}}
\index{EINA\_INLIST\_FOREACH@{EINA\_INLIST\_FOREACH}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{EINA\_INLIST\_FOREACH}{EINA\_INLIST\_FOREACH}}
{\footnotesize\ttfamily \#define EINA\+\_\+\+INLIST\+\_\+\+FOREACH(\begin{DoxyParamCaption}\item[{}]{list,  }\item[{}]{it }\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\ \ \textcolor{keywordflow}{for}\ (it\ =\ NULL,\ it\ =\ (list\ ?\ \mbox{\hyperlink{group__Eina__Inline__List__Group_ga02aaf0449fa7b4e296ebd00005fa1334}{\_EINA\_INLIST\_CONTAINER}}(it,\ list)\ :\ NULL);\ it;\ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ it\ =\ (\mbox{\hyperlink{group__Eina__Inline__List__Group_ga5bc991428e75557c6195f6b9e38321fb}{EINA\_INLIST\_GET}}(it)-\/>next\ ?\ \mbox{\hyperlink{group__Eina__Inline__List__Group_ga02aaf0449fa7b4e296ebd00005fa1334}{\_EINA\_INLIST\_CONTAINER}}(it,\ \mbox{\hyperlink{group__Eina__Inline__List__Group_ga5bc991428e75557c6195f6b9e38321fb}{EINA\_INLIST\_GET}}(it)-\/>next)\ :\ NULL))}

\end{DoxyCode}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em list} & The list to iterate on. \\
\hline
\mbox{\texttt{ out}}  & {\em it} & The pointer to the list item, i.\+e. a pointer to each item that is part of the list. \\
\hline
\end{DoxyParams}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{eina_inlist_01_8c-example}{eina\+\_\+inlist\+\_\+01.\+c}}, \mbox{\hyperlink{eina_inlist_02_8c-example}{eina\+\_\+inlist\+\_\+02.\+c}}, and \mbox{\hyperlink{eina_inlist_03_8c-example}{eina\+\_\+inlist\+\_\+03.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Eina__Inline__List__Group_ga11145a77c8fabbaa397d33912d0a39c5}\label{group__Eina__Inline__List__Group_ga11145a77c8fabbaa397d33912d0a39c5}} 
\index{Inline List@{Inline List}!EINA\_INLIST\_FOREACH\_SAFE@{EINA\_INLIST\_FOREACH\_SAFE}}
\index{EINA\_INLIST\_FOREACH\_SAFE@{EINA\_INLIST\_FOREACH\_SAFE}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{EINA\_INLIST\_FOREACH\_SAFE}{EINA\_INLIST\_FOREACH\_SAFE}}
{\footnotesize\ttfamily \#define EINA\+\_\+\+INLIST\+\_\+\+FOREACH\+\_\+\+SAFE(\begin{DoxyParamCaption}\item[{}]{list,  }\item[{}]{list2,  }\item[{}]{it }\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{for}\ (it\ =\ NULL,\ it\ =\ (list\ ?\ \mbox{\hyperlink{group__Eina__Inline__List__Group_ga02aaf0449fa7b4e296ebd00005fa1334}{\_EINA\_INLIST\_CONTAINER}}(it,\ list)\ :\ NULL),\ list2\ =\ it\ ?\ \mbox{\hyperlink{group__Eina__Inline__List__Group_ga5bc991428e75557c6195f6b9e38321fb}{EINA\_INLIST\_GET}}(it)-\/>next\ :\ NULL;\ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ it;\ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ it\ =\ NULL,\ it\ =\ list2\ ?\ \mbox{\hyperlink{group__Eina__Inline__List__Group_ga02aaf0449fa7b4e296ebd00005fa1334}{\_EINA\_INLIST\_CONTAINER}}(it,\ list2)\ :\ NULL,\ list2\ =\ list2\ ?\ list2-\/>next\ :\ NULL)}

\end{DoxyCode}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em list} & The list to iterate on. \\
\hline
\mbox{\texttt{ out}}  & {\em list2} & Auxiliary Eina\+\_\+\+Inlist variable so we can save the pointer to the next element, allowing us to free/remove the current one. Note that this macro is only safe if the next element is not removed. Only the current one is allowed to be removed. \\
\hline
\mbox{\texttt{ out}}  & {\em it} & The pointer to the list item, i.\+e. a pointer to each item that is part of the list. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Eina__Inline__List__Group_gafa10a318f6f3c5e734e08bb4d48ca3f6}\label{group__Eina__Inline__List__Group_gafa10a318f6f3c5e734e08bb4d48ca3f6}} 
\index{Inline List@{Inline List}!EINA\_INLIST\_REVERSE\_FOREACH@{EINA\_INLIST\_REVERSE\_FOREACH}}
\index{EINA\_INLIST\_REVERSE\_FOREACH@{EINA\_INLIST\_REVERSE\_FOREACH}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{EINA\_INLIST\_REVERSE\_FOREACH}{EINA\_INLIST\_REVERSE\_FOREACH}}
{\footnotesize\ttfamily \#define EINA\+\_\+\+INLIST\+\_\+\+REVERSE\+\_\+\+FOREACH(\begin{DoxyParamCaption}\item[{}]{list,  }\item[{}]{it }\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\ \ \textcolor{keywordflow}{for}\ (it\ =\ NULL,\ it\ =\ (list\ ?\ \mbox{\hyperlink{group__Eina__Inline__List__Group_ga02aaf0449fa7b4e296ebd00005fa1334}{\_EINA\_INLIST\_CONTAINER}}(it,\ list-\/>last)\ :\ NULL);\ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ it;\ it\ =\ (\mbox{\hyperlink{group__Eina__Inline__List__Group_ga5bc991428e75557c6195f6b9e38321fb}{EINA\_INLIST\_GET}}(it)-\/>prev\ ?\ \mbox{\hyperlink{group__Eina__Inline__List__Group_ga02aaf0449fa7b4e296ebd00005fa1334}{\_EINA\_INLIST\_CONTAINER}}(it,\ \mbox{\hyperlink{group__Eina__Inline__List__Group_ga5bc991428e75557c6195f6b9e38321fb}{EINA\_INLIST\_GET}}(it)-\/>prev)\ :\ NULL))}

\end{DoxyCode}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em list} & The list to traverse in reverse order. \\
\hline
\mbox{\texttt{ out}}  & {\em it} & The pointer to the list item, i.\+e. a pointer to each item that is part of the list. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Eina__Inline__List__Group_gafc3e2cfc56097689afa7007af91d2a7e}\label{group__Eina__Inline__List__Group_gafc3e2cfc56097689afa7007af91d2a7e}} 
\index{Inline List@{Inline List}!EINA\_INLIST\_REVERSE\_FOREACH\_FROM@{EINA\_INLIST\_REVERSE\_FOREACH\_FROM}}
\index{EINA\_INLIST\_REVERSE\_FOREACH\_FROM@{EINA\_INLIST\_REVERSE\_FOREACH\_FROM}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{EINA\_INLIST\_REVERSE\_FOREACH\_FROM}{EINA\_INLIST\_REVERSE\_FOREACH\_FROM}}
{\footnotesize\ttfamily \#define EINA\+\_\+\+INLIST\+\_\+\+REVERSE\+\_\+\+FOREACH\+\_\+\+FROM(\begin{DoxyParamCaption}\item[{}]{list,  }\item[{}]{it }\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\ \ \textcolor{keywordflow}{for}\ (it\ =\ NULL,\ it\ =\ (list\ ?\ \mbox{\hyperlink{group__Eina__Inline__List__Group_ga02aaf0449fa7b4e296ebd00005fa1334}{\_EINA\_INLIST\_CONTAINER}}(it,\ list)\ :\ NULL);\ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ it;\ it\ =\ (\mbox{\hyperlink{group__Eina__Inline__List__Group_ga5bc991428e75557c6195f6b9e38321fb}{EINA\_INLIST\_GET}}(it)-\/>prev\ ?\ \mbox{\hyperlink{group__Eina__Inline__List__Group_ga02aaf0449fa7b4e296ebd00005fa1334}{\_EINA\_INLIST\_CONTAINER}}(it,\ \mbox{\hyperlink{group__Eina__Inline__List__Group_ga5bc991428e75557c6195f6b9e38321fb}{EINA\_INLIST\_GET}}(it)-\/>prev)\ :\ NULL))}

\end{DoxyCode}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em list} & The last list to traverse in reverse order. \\
\hline
\mbox{\texttt{ in}}  & {\em it} & The pointer to the list item, i.\+e. a pointer to each item that is part of the list. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Inline__List__Group_gafa10a318f6f3c5e734e08bb4d48ca3f6}{EINA\+\_\+\+INLIST\+\_\+\+REVERSE\+\_\+\+FOREACH()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8
\end{DoxySince}
\mbox{\hyperlink{group__Eina__Inline__List__Group_gafa10a318f6f3c5e734e08bb4d48ca3f6}{EINA\+\_\+\+INLIST\+\_\+\+REVERSE\+\_\+\+FOREACH()}} starts from last list of the given list. This starts from given list, not the last one. \mbox{\Hypertarget{group__Eina__Inline__List__Group_gae31673f53e99c2fc55720b7144e9f293}\label{group__Eina__Inline__List__Group_gae31673f53e99c2fc55720b7144e9f293}} 
\index{Inline List@{Inline List}!EINA\_INLIST\_FREE@{EINA\_INLIST\_FREE}}
\index{EINA\_INLIST\_FREE@{EINA\_INLIST\_FREE}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{EINA\_INLIST\_FREE}{EINA\_INLIST\_FREE}}
{\footnotesize\ttfamily \#define EINA\+\_\+\+INLIST\+\_\+\+FREE(\begin{DoxyParamCaption}\item[{}]{list,  }\item[{}]{it }\end{DoxyParamCaption})~  for (it = (\+\_\+\+\_\+typeof\+\_\+\+\_\+(it)) list; list; it = (\+\_\+\+\_\+typeof\+\_\+\+\_\+(it)) list)}


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em list} & The list to free. \\
\hline
\mbox{\texttt{ in}}  & {\em it} & The pointer to the list item, i.\+e. a pointer to each item that is part of the list.\\
\hline
\end{DoxyParams}
NOTE\+: it is the duty of the body loop to properly remove the item from the inlist and free it. This function will turn into a infinite loop if you don\textquotesingle{}t remove all items from the list. \begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


\doxysubsection{Typedef Documentation}
\mbox{\Hypertarget{group__Eina__Inline__List__Group_gae16e1ec496f4f97f74225f070cd09b93}\label{group__Eina__Inline__List__Group_gae16e1ec496f4f97f74225f070cd09b93}} 
\index{Inline List@{Inline List}!Eina\_Inlist\_Sorted\_State@{Eina\_Inlist\_Sorted\_State}}
\index{Eina\_Inlist\_Sorted\_State@{Eina\_Inlist\_Sorted\_State}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{Eina\_Inlist\_Sorted\_State}{Eina\_Inlist\_Sorted\_State}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Inline__List__Group_gae16e1ec496f4f97f74225f070cd09b93}{Eina\+\_\+\+Inlist\+\_\+\+Sorted\+\_\+\+State}}}

\begin{DoxySince}{Since}
1.\+1.\+0 State of sorted Eina\+\_\+\+Inlist 
\end{DoxySince}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Eina__Inline__List__Group_gaef650e653f43178ecfee2c661bea7a85}\label{group__Eina__Inline__List__Group_gaef650e653f43178ecfee2c661bea7a85}} 
\index{Inline List@{Inline List}!eina\_inlist\_append@{eina\_inlist\_append}}
\index{eina\_inlist\_append@{eina\_inlist\_append}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{eina\_inlist\_append()}{eina\_inlist\_append()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ eina\+\_\+inlist\+\_\+append (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{in\+\_\+list,  }\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{in\+\_\+item }\end{DoxyParamCaption})}



Adds a new node to end of a list. 

\begin{DoxyNote}{Note}
This code is meant to be fast\+: appends are O(1) and do not walk {\itshape in\+\_\+list}.

{\itshape in\+\_\+item} is considered to be in no list. If it was in another list before, \mbox{\hyperlink{group__Eina__Inline__List__Group_gaf885b08d5b5a750a901f3780d3c65338}{eina\+\_\+inlist\+\_\+remove()}} it before adding. No check of {\itshape new\+\_\+l} prev and next pointers is done, so it\textquotesingle{}s safe to have them uninitialized.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em in\+\_\+list} & Existing list head or {\ttfamily NULL} to create a new list. \\
\hline
\mbox{\texttt{ in}}  & {\em in\+\_\+item} & New list node, must not be {\ttfamily NULL}.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new list head. Use it and not {\itshape in\+\_\+list} anymore. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{struct__Eina__Inlist_a8fdb89dd18e0b002a8d47e92ea754115}{\+\_\+\+Eina\+\_\+\+Inlist\+::last}}, \mbox{\hyperlink{struct__Eina__Inlist_ae95deba8e271f94f8ad8aecf7fdb5dde}{\+\_\+\+Eina\+\_\+\+Inlist\+::next}}, and \mbox{\hyperlink{struct__Eina__Inlist_a3c335b4dd31dec7f3c99babc1060d196}{\+\_\+\+Eina\+\_\+\+Inlist\+::prev}}.



Referenced by \mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_gada62340c2200e6a3611ee4916cf0116c}{ecore\+\_\+buffer\+\_\+free\+\_\+callback\+\_\+add()}}, \mbox{\hyperlink{group__Ecore__Wl2__Subsurface__Group_ga57a94d7e129049ad79b0607d608605e4}{ecore\+\_\+wl2\+\_\+subsurface\+\_\+new()}}, \mbox{\hyperlink{Ecore__Wl2_8h_ae43e3e9f284d8e61623b3f6782295f30}{ecore\+\_\+wl2\+\_\+window\+\_\+frame\+\_\+callback\+\_\+add()}}, \mbox{\hyperlink{group__Ecore__Wl2__Window__Group_ga7675c51736ef8c167ed3f4cec38622ac}{ecore\+\_\+wl2\+\_\+window\+\_\+new()}}, \mbox{\hyperlink{group__Ecore__Wl__Subsurf_ga9ce68d458748accf7de4be5f3c8faae8}{ecore\+\_\+wl\+\_\+subsurf\+\_\+create()}}, \mbox{\hyperlink{Ecore__X_8h_ad255916172a9ed5549f9351c2125dcfb}{ecore\+\_\+x\+\_\+input\+\_\+multi\+\_\+select()}}, \mbox{\hyperlink{group__Eeze__Watch_ga89cbd97910b2a713a71ede0a495c69c3}{eeze\+\_\+udev\+\_\+watch\+\_\+add()}}, \mbox{\hyperlink{group__Eina__Benchmark__Group_ga9732a7da5665e92d0afaf0367d2f6b85}{eina\+\_\+benchmark\+\_\+register()}}, \mbox{\hyperlink{group__Eina__Inline__List__Group_ga8bb0dbd2cd2ce2a39453d645239f9270}{eina\+\_\+inlist\+\_\+append\+\_\+relative()}}, \mbox{\hyperlink{group__Eina__Inline__List__Group_ga7c541686db382d473d0cba9e0a8f633e}{eina\+\_\+inlist\+\_\+sorted\+\_\+insert()}}, \mbox{\hyperlink{group__Eina__Inline__List__Group_gad5252fcbee66f60598795e718ce1dcf2}{eina\+\_\+inlist\+\_\+sorted\+\_\+state\+\_\+insert()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga705508c5d76646d886d200b5a49c631c}{eina\+\_\+log\+\_\+domain\+\_\+level\+\_\+set()}}, \mbox{\hyperlink{group__Eina__Quadtree__Group_gae08d65166a69f9e75e4c57036812a2b9}{eina\+\_\+quadtree\+\_\+add()}}, \mbox{\hyperlink{group__Eina__Quadtree__Group_ga95c08e61d9ef49b8e0cb2ad7bac68582}{eina\+\_\+quadtree\+\_\+change()}}, \mbox{\hyperlink{group__Eina__Simple__XML__Group_ga37b7af139210203dbe8ecb6160fedf53}{eina\+\_\+simple\+\_\+xml\+\_\+attribute\+\_\+new()}}, \mbox{\hyperlink{group__Eina__Simple__XML__Group_ga2311b4b4417025c9b3493e564193a29e}{eina\+\_\+simple\+\_\+xml\+\_\+node\+\_\+tag\+\_\+new()}}, \mbox{\hyperlink{group__Eldbus__Connection_ga1ddabae0241a4eb37ac6281ae831b19e}{eldbus\+\_\+connection\+\_\+event\+\_\+callback\+\_\+add()}}, \mbox{\hyperlink{group__Eldbus__Message__Iter_ga693607426e8bc5fe31be856c137a4a61}{eldbus\+\_\+message\+\_\+iter\+\_\+container\+\_\+new()}}, \mbox{\hyperlink{group__Eldbus__Message__Iter_ga45c7d707ee830ae5be39c17df05af615}{eldbus\+\_\+message\+\_\+iter\+\_\+get\+\_\+and\+\_\+next()}}, \mbox{\hyperlink{group__Eldbus__Basic_gaf405114e35fec59c14cef2203e9debd5}{eldbus\+\_\+name\+\_\+owner\+\_\+changed\+\_\+callback\+\_\+add()}}, \mbox{\hyperlink{group__Eldbus__Object__Mapper_ga51777d46a7af02dc5027b31098c7f060}{eldbus\+\_\+object\+\_\+event\+\_\+callback\+\_\+add()}}, \mbox{\hyperlink{group__Eldbus__Object__Mapper_gaef2c0fc6b0710b70a55494c43653fc1a}{eldbus\+\_\+object\+\_\+send()}}, \mbox{\hyperlink{group__Eldbus__Proxy_ga4b7ab0db8ac6ab9ea3e7f0912b2432e9}{eldbus\+\_\+proxy\+\_\+event\+\_\+callback\+\_\+add()}}, \mbox{\hyperlink{group__Elm__Color__Class__Group_gaf9e0a25a2cd3e57d3ff211b62d763ba8}{elm\+\_\+color\+\_\+class\+\_\+editor\+\_\+add()}}, \mbox{\hyperlink{group__Elm__Gesture__Layer__Group_gad0c59dbad956d63ff015bac89f9b7b0c}{elm\+\_\+gesture\+\_\+layer\+\_\+tap\+\_\+longpress\+\_\+cb\+\_\+add()}}, \mbox{\hyperlink{group__Elm__Prefs_ga2435876857d1a36d379e23040e389172}{elm\+\_\+prefs\+\_\+data\+\_\+event\+\_\+callback\+\_\+add()}}, \mbox{\hyperlink{group__Elm__Transit_ga7f1c2c5074a922942a147de4c974b827}{elm\+\_\+transit\+\_\+effect\+\_\+add()}}, \mbox{\hyperlink{group__Evas__Canvas__Events_ga16b0a852f07c3c5a540e404b9cbda6a4}{evas\+\_\+event\+\_\+callback\+\_\+priority\+\_\+add()}}, \mbox{\hyperlink{group__Evas__Object__Group__Events_gafc854aa93df943af555a65567b399870}{evas\+\_\+object\+\_\+event\+\_\+callback\+\_\+priority\+\_\+add()}}, \mbox{\hyperlink{group__Evas__Smart__Object__Group_gacfe261fa20f48547c9476b2c7370dd03}{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+priority\+\_\+add()}}, \mbox{\hyperlink{group__Evas__Canvas_ga9335e65d48b48b0b29408bf580071edd}{evas\+\_\+output\+\_\+method\+\_\+set()}}, and \mbox{\hyperlink{group__Evas__Object__Textblock__Group_gac1eba53b59d453d6be853fe311e06c7f}{evas\+\_\+textblock\+\_\+style\+\_\+set()}}.

\mbox{\Hypertarget{group__Eina__Inline__List__Group_ga2cbaa546cd6224dde756d43a603ef463}\label{group__Eina__Inline__List__Group_ga2cbaa546cd6224dde756d43a603ef463}} 
\index{Inline List@{Inline List}!eina\_inlist\_prepend@{eina\_inlist\_prepend}}
\index{eina\_inlist\_prepend@{eina\_inlist\_prepend}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{eina\_inlist\_prepend()}{eina\_inlist\_prepend()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ eina\+\_\+inlist\+\_\+prepend (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{in\+\_\+list,  }\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{in\+\_\+item }\end{DoxyParamCaption})}



Adds a new node to beginning of list. 

\begin{DoxyNote}{Note}
This code is meant to be fast\+: appends are O(1) and do not walk {\itshape in\+\_\+list}.

{\itshape new\+\_\+l} is considered to be in no list. If it was in another list before, \mbox{\hyperlink{group__Eina__Inline__List__Group_gaf885b08d5b5a750a901f3780d3c65338}{eina\+\_\+inlist\+\_\+remove()}} it before adding. No check of {\itshape new\+\_\+l} prev and next pointers is done, so it\textquotesingle{}s safe to have them uninitialized.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em in\+\_\+list} & Existing list head or {\ttfamily NULL} to create a new list. \\
\hline
\mbox{\texttt{ in}}  & {\em in\+\_\+item} & New list node, must not be {\ttfamily NULL}.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new list head. Use it and not {\itshape in\+\_\+list} anymore. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{struct__Eina__Inlist_a8fdb89dd18e0b002a8d47e92ea754115}{\+\_\+\+Eina\+\_\+\+Inlist\+::last}}, \mbox{\hyperlink{struct__Eina__Inlist_ae95deba8e271f94f8ad8aecf7fdb5dde}{\+\_\+\+Eina\+\_\+\+Inlist\+::next}}, and \mbox{\hyperlink{struct__Eina__Inlist_a3c335b4dd31dec7f3c99babc1060d196}{\+\_\+\+Eina\+\_\+\+Inlist\+::prev}}.



Referenced by \mbox{\hyperlink{group__Ecore__Poller__Group_ga9ce7d4becc2fb4cc08e07e659c332f27}{ecore\+\_\+poller\+\_\+add()}}, \mbox{\hyperlink{group__Ecore__Poller__Group_gae9acf938d0e3b3ee84509d0c04ed628a}{ecore\+\_\+poller\+\_\+poller\+\_\+interval\+\_\+set()}}, \mbox{\hyperlink{group__Eina__Counter__Group_ga13c8bbfa48271d1260ab40ffb065f831}{eina\+\_\+counter\+\_\+start()}}, \mbox{\hyperlink{group__Eina__Inline__List__Group_ga116e6960648d7a094c3948030035df78}{eina\+\_\+inlist\+\_\+prepend\+\_\+relative()}}, \mbox{\hyperlink{group__Eina__Inline__List__Group_ga7c541686db382d473d0cba9e0a8f633e}{eina\+\_\+inlist\+\_\+sorted\+\_\+insert()}}, \mbox{\hyperlink{group__Eina__Inline__List__Group_gad5252fcbee66f60598795e718ce1dcf2}{eina\+\_\+inlist\+\_\+sorted\+\_\+state\+\_\+insert()}}, and \mbox{\hyperlink{group__Eina__Rectangle__Group_ga6b76645d9c7b97d7de540792bae9d776}{eina\+\_\+rectangle\+\_\+pool\+\_\+request()}}.

\mbox{\Hypertarget{group__Eina__Inline__List__Group_ga8bb0dbd2cd2ce2a39453d645239f9270}\label{group__Eina__Inline__List__Group_ga8bb0dbd2cd2ce2a39453d645239f9270}} 
\index{Inline List@{Inline List}!eina\_inlist\_append\_relative@{eina\_inlist\_append\_relative}}
\index{eina\_inlist\_append\_relative@{eina\_inlist\_append\_relative}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{eina\_inlist\_append\_relative()}{eina\_inlist\_append\_relative()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ eina\+\_\+inlist\+\_\+append\+\_\+relative (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{in\+\_\+list,  }\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{in\+\_\+item,  }\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{in\+\_\+relative }\end{DoxyParamCaption})}



Adds a new node after the given relative item in list. 

\begin{DoxyNote}{Note}
This code is meant to be fast\+: appends are O(1) and do not walk {\itshape in\+\_\+list}.

{\itshape in\+\_\+item\+\_\+l} is considered to be in no list. If it was in another list before, \mbox{\hyperlink{group__Eina__Inline__List__Group_gaf885b08d5b5a750a901f3780d3c65338}{eina\+\_\+inlist\+\_\+remove()}} it before adding. No check of {\itshape in\+\_\+item} prev and next pointers is done, so it\textquotesingle{}s safe to have them uninitialized.

{\itshape in\+\_\+relative} is considered to be inside {\itshape in\+\_\+list}, no checks are done to confirm that and giving nodes from different lists will lead to problems. Giving NULL {\itshape in\+\_\+relative} is the same as \mbox{\hyperlink{group__Eina__List__Group_ga625698a383dda8fc0db245a1c7608c49}{eina\+\_\+list\+\_\+append()}}.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em in\+\_\+list} & Existing list head or {\ttfamily NULL} to create a new list. \\
\hline
\mbox{\texttt{ in}}  & {\em in\+\_\+item} & New list node, must not be {\ttfamily NULL}. \\
\hline
\mbox{\texttt{ in}}  & {\em in\+\_\+relative} & Reference node, {\itshape in\+\_\+item} will be added after it.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new list head. Use it and not {\itshape list} anymore. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Inline__List__Group_gaef650e653f43178ecfee2c661bea7a85}{eina\+\_\+inlist\+\_\+append()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{struct__Eina__Inlist_a8fdb89dd18e0b002a8d47e92ea754115}{\+\_\+\+Eina\+\_\+\+Inlist\+::last}}, \mbox{\hyperlink{struct__Eina__Inlist_ae95deba8e271f94f8ad8aecf7fdb5dde}{\+\_\+\+Eina\+\_\+\+Inlist\+::next}}, and \mbox{\hyperlink{struct__Eina__Inlist_a3c335b4dd31dec7f3c99babc1060d196}{\+\_\+\+Eina\+\_\+\+Inlist\+::prev}}.



Referenced by \mbox{\hyperlink{group__Eina__Inline__List__Group_ga7c541686db382d473d0cba9e0a8f633e}{eina\+\_\+inlist\+\_\+sorted\+\_\+insert()}}, and \mbox{\hyperlink{group__Eina__Inline__List__Group_gad5252fcbee66f60598795e718ce1dcf2}{eina\+\_\+inlist\+\_\+sorted\+\_\+state\+\_\+insert()}}.

\mbox{\Hypertarget{group__Eina__Inline__List__Group_ga116e6960648d7a094c3948030035df78}\label{group__Eina__Inline__List__Group_ga116e6960648d7a094c3948030035df78}} 
\index{Inline List@{Inline List}!eina\_inlist\_prepend\_relative@{eina\_inlist\_prepend\_relative}}
\index{eina\_inlist\_prepend\_relative@{eina\_inlist\_prepend\_relative}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{eina\_inlist\_prepend\_relative()}{eina\_inlist\_prepend\_relative()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ eina\+\_\+inlist\+\_\+prepend\+\_\+relative (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{in\+\_\+list,  }\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{in\+\_\+item,  }\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{in\+\_\+relative }\end{DoxyParamCaption})}



Adds a new node before the given relative item in list. 

\begin{DoxyNote}{Note}
This code is meant to be fast\+: appends are O(1) and do not walk {\itshape in\+\_\+list}.

{\itshape in\+\_\+item} is considered to be in no list. If it was in another list before, \mbox{\hyperlink{group__Eina__Inline__List__Group_gaf885b08d5b5a750a901f3780d3c65338}{eina\+\_\+inlist\+\_\+remove()}} it before adding. No check of {\itshape in\+\_\+item} prev and next pointers is done, so it\textquotesingle{}s safe to have them uninitialized.

{\itshape in\+\_\+relative} is considered to be inside {\itshape in\+\_\+list}, no checks are done to confirm that and giving nodes from different lists will lead to problems. Giving NULL {\itshape in\+\_\+relative} is the same as \mbox{\hyperlink{group__Eina__List__Group_ga4a2716e8fba1c3f60e3b112caef26fb9}{eina\+\_\+list\+\_\+prepend()}}.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em in\+\_\+list} & Existing list head or {\ttfamily NULL} to create a new list. \\
\hline
\mbox{\texttt{ in}}  & {\em in\+\_\+item} & New list node, must not be {\ttfamily NULL}. \\
\hline
\mbox{\texttt{ in}}  & {\em in\+\_\+relative} & Reference node, {\itshape in\+\_\+item} will be added before it.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new list head. Use it and not {\itshape in\+\_\+list} anymore. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Inline__List__Group_ga2cbaa546cd6224dde756d43a603ef463}{eina\+\_\+inlist\+\_\+prepend()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{struct__Eina__Inlist_a8fdb89dd18e0b002a8d47e92ea754115}{\+\_\+\+Eina\+\_\+\+Inlist\+::last}}, \mbox{\hyperlink{struct__Eina__Inlist_ae95deba8e271f94f8ad8aecf7fdb5dde}{\+\_\+\+Eina\+\_\+\+Inlist\+::next}}, and \mbox{\hyperlink{struct__Eina__Inlist_a3c335b4dd31dec7f3c99babc1060d196}{\+\_\+\+Eina\+\_\+\+Inlist\+::prev}}.



Referenced by \mbox{\hyperlink{group__Eina__Inline__List__Group_ga7c541686db382d473d0cba9e0a8f633e}{eina\+\_\+inlist\+\_\+sorted\+\_\+insert()}}, and \mbox{\hyperlink{group__Eina__Inline__List__Group_gad5252fcbee66f60598795e718ce1dcf2}{eina\+\_\+inlist\+\_\+sorted\+\_\+state\+\_\+insert()}}.

\mbox{\Hypertarget{group__Eina__Inline__List__Group_gaf885b08d5b5a750a901f3780d3c65338}\label{group__Eina__Inline__List__Group_gaf885b08d5b5a750a901f3780d3c65338}} 
\index{Inline List@{Inline List}!eina\_inlist\_remove@{eina\_inlist\_remove}}
\index{eina\_inlist\_remove@{eina\_inlist\_remove}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{eina\_inlist\_remove()}{eina\_inlist\_remove()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ eina\+\_\+inlist\+\_\+remove (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{in\+\_\+list,  }\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{in\+\_\+item }\end{DoxyParamCaption})}



Removes node from list. 

\begin{DoxyNote}{Note}
This code is meant to be fast\+: appends are O(1) and do not walk {\itshape list}.

{\itshape in\+\_\+item} is considered to be inside {\itshape in\+\_\+list}, no checks are done to confirm that and giving nodes from different lists will lead to problems, especially if {\itshape in\+\_\+item} is the head since it will be different from {\itshape list} and the wrong new head will be returned.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em in\+\_\+list} & Existing list head, must not be {\ttfamily NULL}. \\
\hline
\mbox{\texttt{ in}}  & {\em in\+\_\+item} & Existing list node, must not be {\ttfamily NULL}.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new list head. Use it and not {\itshape list} anymore. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Log__Group_ga2e33caeeeb6051526c01b7fea4d6c91b}{EINA\+\_\+\+LOG\+\_\+\+ERR}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Types__Group_ga70675a75a5fb3e9a51d5af985a1fd3aa}{EINA\+\_\+\+UNLIKELY}}, \mbox{\hyperlink{struct__Eina__Inlist_a8fdb89dd18e0b002a8d47e92ea754115}{\+\_\+\+Eina\+\_\+\+Inlist\+::last}}, \mbox{\hyperlink{struct__Eina__Inlist_ae95deba8e271f94f8ad8aecf7fdb5dde}{\+\_\+\+Eina\+\_\+\+Inlist\+::next}}, and \mbox{\hyperlink{struct__Eina__Inlist_a3c335b4dd31dec7f3c99babc1060d196}{\+\_\+\+Eina\+\_\+\+Inlist\+::prev}}.



Referenced by \mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_gab670a83834672729692b11389422b6b3}{ecore\+\_\+buffer\+\_\+free()}}, \mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_ga9cb0631ea2a79660880d7e11d7385db4}{ecore\+\_\+buffer\+\_\+free\+\_\+callback\+\_\+remove()}}, \mbox{\hyperlink{group__Ecore__Poller__Group_gae9acf938d0e3b3ee84509d0c04ed628a}{ecore\+\_\+poller\+\_\+poller\+\_\+interval\+\_\+set()}}, \mbox{\hyperlink{Ecore__Wl2_8h_a4f068d42db9d3b5637d91e4c81f7683b}{ecore\+\_\+wl2\+\_\+window\+\_\+frame\+\_\+callback\+\_\+del()}}, \mbox{\hyperlink{group__Ecore__Wl2__Window__Group_ga1b62579ecbefbf793c7f4d3ed726482d}{ecore\+\_\+wl2\+\_\+window\+\_\+free()}}, \mbox{\hyperlink{group__Eeze__Watch_ga6d17487ee2db125e2f61308e285ac8dc}{eeze\+\_\+udev\+\_\+watch\+\_\+del()}}, \mbox{\hyperlink{group__Eina__Benchmark__Group_ga07f1276628b40aac723f21c75b5d5b76}{eina\+\_\+benchmark\+\_\+free()}}, \mbox{\hyperlink{group__Eina__Counter__Group_gabc8adceb04663f438d064cde35ba5d87}{eina\+\_\+counter\+\_\+free()}}, \mbox{\hyperlink{group__Eina__Rectangle__Group_gab9428bee6f53a3f8c91b7f92a7c503aa}{eina\+\_\+rectangle\+\_\+pool\+\_\+release()}}, \mbox{\hyperlink{group__Eina__Simple__XML__Group_gad372199ec69d5b4c6dd3e90cef273568}{eina\+\_\+simple\+\_\+xml\+\_\+attribute\+\_\+free()}}, \mbox{\hyperlink{group__Eldbus__Basic_gac3c3b6f6b54ed74cfd7cd9b0ab5cfde1}{eldbus\+\_\+name\+\_\+owner\+\_\+changed\+\_\+callback\+\_\+del()}}, \mbox{\hyperlink{group__Elm__Gesture__Layer__Group_ga47a324aecd2745f2e1ab520f46d18ab5}{elm\+\_\+gesture\+\_\+layer\+\_\+tap\+\_\+longpress\+\_\+cb\+\_\+del()}}, \mbox{\hyperlink{group__Elm__Prefs_gafeffd07fade957a5c92e217e4436de99}{elm\+\_\+prefs\+\_\+data\+\_\+event\+\_\+callback\+\_\+del()}}, \mbox{\hyperlink{group__Store_ga04e5d401569956202edd4657a4503c58}{elm\+\_\+store\+\_\+free()}}, \mbox{\hyperlink{group__Evas__Canvas__Events_ga2fe069da8a70750a8fb1670026f1d2a5}{evas\+\_\+event\+\_\+callback\+\_\+del()}}, \mbox{\hyperlink{group__Evas__Canvas__Events_gaff7de09d31975387c5218de13fbed50f}{evas\+\_\+event\+\_\+callback\+\_\+del\+\_\+full()}}, \mbox{\hyperlink{group__Evas__Object__Group__Events_ga4de7493592c317e184341042723c4377}{evas\+\_\+object\+\_\+event\+\_\+callback\+\_\+del()}}, \mbox{\hyperlink{group__Evas__Object__Group__Events_ga6fc3f97752c6e979e36d6cbfe7762b0b}{evas\+\_\+object\+\_\+event\+\_\+callback\+\_\+del\+\_\+full()}}, \mbox{\hyperlink{group__Evas__Smart__Object__Group_ga3d72def8430b6c5774c960c076dfa251}{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+del()}}, and \mbox{\hyperlink{group__Evas__Smart__Object__Group_ga2764f0b5c0c05343a6ea593aed32b8d9}{evas\+\_\+object\+\_\+smart\+\_\+callback\+\_\+del\+\_\+full()}}.

\mbox{\Hypertarget{group__Eina__Inline__List__Group_ga22491df4219f390595c535463936510e}\label{group__Eina__Inline__List__Group_ga22491df4219f390595c535463936510e}} 
\index{Inline List@{Inline List}!eina\_inlist\_find@{eina\_inlist\_find}}
\index{eina\_inlist\_find@{eina\_inlist\_find}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{eina\_inlist\_find()}{eina\_inlist\_find()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ eina\+\_\+inlist\+\_\+find (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{in\+\_\+list,  }\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{in\+\_\+item }\end{DoxyParamCaption})}



Finds given node in list, returns itself if found, NULL if not. 

\begin{DoxyWarning}{Warning}
This is an expensive call and has O(n) cost, possibly walking the whole list.
\end{DoxyWarning}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em in\+\_\+list} & Existing list to search {\itshape in\+\_\+item} in, must not be {\ttfamily NULL}. \\
\hline
\mbox{\texttt{ in}}  & {\em in\+\_\+item} & What to search for, must not be {\ttfamily NULL}.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\itshape in\+\_\+item} if found, {\ttfamily NULL} if not. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{struct__Eina__Inlist_ae95deba8e271f94f8ad8aecf7fdb5dde}{\+\_\+\+Eina\+\_\+\+Inlist\+::next}}.

\mbox{\Hypertarget{group__Eina__Inline__List__Group_gaeb798d318196989b95cc1a7801c2f364}\label{group__Eina__Inline__List__Group_gaeb798d318196989b95cc1a7801c2f364}} 
\index{Inline List@{Inline List}!eina\_inlist\_promote@{eina\_inlist\_promote}}
\index{eina\_inlist\_promote@{eina\_inlist\_promote}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{eina\_inlist\_promote()}{eina\_inlist\_promote()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ eina\+\_\+inlist\+\_\+promote (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{list,  }\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{item }\end{DoxyParamCaption})}



Moves existing node to beginning of list. 

\begin{DoxyNote}{Note}
This code is meant to be fast\+: appends are O(1) and do not walk {\itshape list}.

{\itshape item} is considered to be inside {\itshape list}. No checks are done to confirm this, and giving nodes from different lists will lead to problems.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em list} & Existing list head or {\ttfamily NULL} to create a new list. \\
\hline
\mbox{\texttt{ in}}  & {\em item} & List node to move to beginning (head), must not be {\ttfamily NULL}.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new list head. Use it and not {\itshape list} anymore. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{struct__Eina__Inlist_a8fdb89dd18e0b002a8d47e92ea754115}{\+\_\+\+Eina\+\_\+\+Inlist\+::last}}, \mbox{\hyperlink{struct__Eina__Inlist_ae95deba8e271f94f8ad8aecf7fdb5dde}{\+\_\+\+Eina\+\_\+\+Inlist\+::next}}, and \mbox{\hyperlink{struct__Eina__Inlist_a3c335b4dd31dec7f3c99babc1060d196}{\+\_\+\+Eina\+\_\+\+Inlist\+::prev}}.

\mbox{\Hypertarget{group__Eina__Inline__List__Group_gaf2aee0bfc3a6f3a6cd4da210908ab86f}\label{group__Eina__Inline__List__Group_gaf2aee0bfc3a6f3a6cd4da210908ab86f}} 
\index{Inline List@{Inline List}!eina\_inlist\_demote@{eina\_inlist\_demote}}
\index{eina\_inlist\_demote@{eina\_inlist\_demote}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{eina\_inlist\_demote()}{eina\_inlist\_demote()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ eina\+\_\+inlist\+\_\+demote (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{list,  }\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{item }\end{DoxyParamCaption})}



Moves existing node to end of list. 

\begin{DoxyNote}{Note}
This code is meant to be fast\+: appends are O(1) and do not walk {\itshape list}.

{\itshape item} is considered to be inside {\itshape list}. No checks are done to confirm this, and giving nodes from different lists will lead to problems.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em list} & Existing list head or {\ttfamily NULL} to create a new list. \\
\hline
\mbox{\texttt{ in}}  & {\em item} & List node to move to end (tail), must not be {\ttfamily NULL}.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new list head. Use it and not {\itshape list} anymore. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{struct__Eina__Inlist_a8fdb89dd18e0b002a8d47e92ea754115}{\+\_\+\+Eina\+\_\+\+Inlist\+::last}}, \mbox{\hyperlink{struct__Eina__Inlist_ae95deba8e271f94f8ad8aecf7fdb5dde}{\+\_\+\+Eina\+\_\+\+Inlist\+::next}}, and \mbox{\hyperlink{struct__Eina__Inlist_a3c335b4dd31dec7f3c99babc1060d196}{\+\_\+\+Eina\+\_\+\+Inlist\+::prev}}.

\mbox{\Hypertarget{group__Eina__Inline__List__Group_gaad7a419d891ecdc97f998cdc23a99457}\label{group__Eina__Inline__List__Group_gaad7a419d891ecdc97f998cdc23a99457}} 
\index{Inline List@{Inline List}!eina\_inlist\_first@{eina\_inlist\_first}}
\index{eina\_inlist\_first@{eina\_inlist\_first}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{eina\_inlist\_first()}{eina\_inlist\_first()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ eina\+\_\+inlist\+\_\+first (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{list }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Gets the first list node in the list. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em list} & The list to get the first list node from. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The first list node in the list.
\end{DoxyReturn}
This function returns the first list node in the list {\ttfamily list}. If {\ttfamily list} is {\ttfamily NULL}, {\ttfamily NULL} is returned.

This is a O(\+N) operation (it takes time proportional to the length of the list).

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Inline__List__Group_ga9d112b19d8b0a7f16351944b331a4b17}\label{group__Eina__Inline__List__Group_ga9d112b19d8b0a7f16351944b331a4b17}} 
\index{Inline List@{Inline List}!eina\_inlist\_last@{eina\_inlist\_last}}
\index{eina\_inlist\_last@{eina\_inlist\_last}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{eina\_inlist\_last()}{eina\_inlist\_last()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ eina\+\_\+inlist\+\_\+last (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{list }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Gets the last list node in the list. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em list} & The list to get the last list node from. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The last list node in the list.
\end{DoxyReturn}
This function returns the last list node in the list {\ttfamily list}. If {\ttfamily list} is {\ttfamily NULL}, {\ttfamily NULL} is returned.

This is a O(\+N) operation (it takes time proportional to the length of the list).

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Inline__List__Group_ga3039bdea008dcb10d52f648d154690f8}\label{group__Eina__Inline__List__Group_ga3039bdea008dcb10d52f648d154690f8}} 
\index{Inline List@{Inline List}!eina\_inlist\_count@{eina\_inlist\_count}}
\index{eina\_inlist\_count@{eina\_inlist\_count}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{eina\_inlist\_count()}{eina\_inlist\_count()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} unsigned int eina\+\_\+inlist\+\_\+count (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{list }\end{DoxyParamCaption})}



Gets the count of the number of items in a list. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em list} & The list whose count to return. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The number of members in the list.
\end{DoxyReturn}
This function returns how many members {\ttfamily list} contains. If the list is {\ttfamily NULL}, {\ttfamily 0} is returned.

\begin{DoxyWarning}{Warning}
This is an order-\/N operation and so the time will depend on the number of elements on the list, so, it might become slow for big lists! 
\end{DoxyWarning}


References \mbox{\hyperlink{struct__Eina__Inlist_ae95deba8e271f94f8ad8aecf7fdb5dde}{\+\_\+\+Eina\+\_\+\+Inlist\+::next}}.

\mbox{\Hypertarget{group__Eina__Inline__List__Group_ga27c969f3379fc3564288fa416a6ec002}\label{group__Eina__Inline__List__Group_ga27c969f3379fc3564288fa416a6ec002}} 
\index{Inline List@{Inline List}!eina\_inlist\_iterator\_new@{eina\_inlist\_iterator\_new}}
\index{eina\_inlist\_iterator\_new@{eina\_inlist\_iterator\_new}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{eina\_inlist\_iterator\_new()}{eina\_inlist\_iterator\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\+\_\+\+Iterator}} $\ast$ eina\+\_\+inlist\+\_\+iterator\+\_\+new (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{in\+\_\+list }\end{DoxyParamCaption})}



Returns a new iterator associated to {\itshape list}. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em in\+\_\+list} & The list. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A new iterator.
\end{DoxyReturn}
This function returns a newly allocated iterator associated to {\ttfamily in\+\_\+list}. If {\ttfamily in\+\_\+list} is {\ttfamily NULL} or the count member of {\ttfamily in\+\_\+list} is less or equal than 0, this function still returns a valid iterator that will always return false on \mbox{\hyperlink{group__Eina__Iterator__Group_gad870f9b1d5fb8892cb9623ad0e7f75b2}{eina\+\_\+iterator\+\_\+next()}}, thus keeping API sane.

If the memory can not be allocated, {\ttfamily NULL} is returned. Otherwise, a valid iterator is returned.

\begin{DoxyWarning}{Warning}
if the list structure changes then the iterator becomes invalid, and if you add or remove nodes iterator behavior is undefined, and your program may crash! 
\end{DoxyWarning}


References \mbox{\hyperlink{group__Eina__Magic__Group_ga470f5ce28eaaf59ce80523be8471c5e0}{EINA\+\_\+\+MAGIC\+\_\+\+SET}}, \mbox{\hyperlink{group__Eina__Iterator__Group_gad1ea4d3a7e58b47b23073a58e869d167}{FUNC\+\_\+\+ITERATOR\+\_\+\+FREE}}, \mbox{\hyperlink{group__Eina__Iterator__Group_gab41f5a30f0a2030f4a832548d18332db}{FUNC\+\_\+\+ITERATOR\+\_\+\+GET\+\_\+\+CONTAINER}}, and \mbox{\hyperlink{group__Eina__Iterator__Group_gaec80e80b2867e391b0b27f5f20c3a5b3}{FUNC\+\_\+\+ITERATOR\+\_\+\+NEXT}}.



Referenced by \mbox{\hyperlink{group__Ecore__Wl2__Display__Group_ga4a091d38831fbbaf734eef6f2028e4b2}{ecore\+\_\+wl2\+\_\+display\+\_\+inputs\+\_\+get()}}.

\mbox{\Hypertarget{group__Eina__Inline__List__Group_gaa864597e46d704713fdfd8cd59d207fb}\label{group__Eina__Inline__List__Group_gaa864597e46d704713fdfd8cd59d207fb}} 
\index{Inline List@{Inline List}!eina\_inlist\_accessor\_new@{eina\_inlist\_accessor\_new}}
\index{eina\_inlist\_accessor\_new@{eina\_inlist\_accessor\_new}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{eina\_inlist\_accessor\_new()}{eina\_inlist\_accessor\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Accessor__Group_ga65199ea5201a1867471028477dc26744}{Eina\+\_\+\+Accessor}} $\ast$ eina\+\_\+inlist\+\_\+accessor\+\_\+new (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{in\+\_\+list }\end{DoxyParamCaption})}



Returns a new accessor associated to a list. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em in\+\_\+list} & The list. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A new accessor.
\end{DoxyReturn}
This function returns a newly allocated accessor associated to {\ttfamily in\+\_\+list}. If {\ttfamily in\+\_\+list} is {\ttfamily NULL} or the count member of {\ttfamily in\+\_\+list} is less or equal than {\ttfamily 0}, this function returns {\ttfamily NULL}. If the memory can not be allocated, {\ttfamily NULL} is returned and Otherwise, a valid accessor is returned. 

References \mbox{\hyperlink{group__Eina__Magic__Group_ga470f5ce28eaaf59ce80523be8471c5e0}{EINA\+\_\+\+MAGIC\+\_\+\+SET}}, \mbox{\hyperlink{group__Eina__Accessor__Group_gacbe51b5e7bbd77448af4b0a6b48be101}{FUNC\+\_\+\+ACCESSOR\+\_\+\+FREE}}, \mbox{\hyperlink{group__Eina__Accessor__Group_ga279a8d8204d00590a2f5529e4359bfe3}{FUNC\+\_\+\+ACCESSOR\+\_\+\+GET\+\_\+\+AT}}, and \mbox{\hyperlink{group__Eina__Accessor__Group_gae86a7a10bfdf27781fd930ea1ad0f69b}{FUNC\+\_\+\+ACCESSOR\+\_\+\+GET\+\_\+\+CONTAINER}}.



Referenced by \mbox{\hyperlink{group__Elm__Gengrid__Group_gaac441e6db110d918a0086e8d78df4aaf}{elm\+\_\+gengrid\+\_\+nth\+\_\+item\+\_\+get()}}, and \mbox{\hyperlink{group__Elm__Genlist__Group_ga85af283dcddcf367d0a3da16a71c9a87}{elm\+\_\+genlist\+\_\+nth\+\_\+item\+\_\+get()}}.

\mbox{\Hypertarget{group__Eina__Inline__List__Group_ga7c541686db382d473d0cba9e0a8f633e}\label{group__Eina__Inline__List__Group_ga7c541686db382d473d0cba9e0a8f633e}} 
\index{Inline List@{Inline List}!eina\_inlist\_sorted\_insert@{eina\_inlist\_sorted\_insert}}
\index{eina\_inlist\_sorted\_insert@{eina\_inlist\_sorted\_insert}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{eina\_inlist\_sorted\_insert()}{eina\_inlist\_sorted\_insert()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ eina\+\_\+inlist\+\_\+sorted\+\_\+insert (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{list,  }\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{item,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga1b31ffcc0d46eed63a2381c5a011b486}{Eina\+\_\+\+Compare\+\_\+\+Cb}}}]{func }\end{DoxyParamCaption})}



Inserts a new node into a sorted list. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em list} & The given linked list, {\bfseries{must}} be sorted. \\
\hline
\mbox{\texttt{ in}}  & {\em item} & List node to insert, must not be {\ttfamily NULL}. \\
\hline
\mbox{\texttt{ in}}  & {\em func} & The function called for the sort. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A list pointer.
\end{DoxyReturn}
This function inserts item into a linked list assuming it was sorted and the result will be sorted. If {\ttfamily list} is {\ttfamily NULL}, item is returned. On success, a new list pointer that should be used in place of the one given to this function is returned. Otherwise, the old pointer is returned.

\begin{DoxyNote}{Note}
O(log2(n)) comparisons (calls to {\ttfamily func}) average/worst case performance. As said in \mbox{\hyperlink{group__Eina__List__Group_ga4e667216422b60be1d6636f821eddea2}{eina\+\_\+list\+\_\+search\+\_\+sorted\+\_\+near\+\_\+list()}}, lists do not have O(1) access time, so walking to the correct node can be costly, consider worst case to be almost O(n) pointer dereference (list walk).
\end{DoxyNote}
\begin{DoxySince}{Since}
1.\+1.\+0 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Inline__List__Group_gaef650e653f43178ecfee2c661bea7a85}{eina\+\_\+inlist\+\_\+append()}}, \mbox{\hyperlink{group__Eina__Inline__List__Group_ga8bb0dbd2cd2ce2a39453d645239f9270}{eina\+\_\+inlist\+\_\+append\+\_\+relative()}}, \mbox{\hyperlink{group__Eina__Inline__List__Group_ga2cbaa546cd6224dde756d43a603ef463}{eina\+\_\+inlist\+\_\+prepend()}}, \mbox{\hyperlink{group__Eina__Inline__List__Group_ga116e6960648d7a094c3948030035df78}{eina\+\_\+inlist\+\_\+prepend\+\_\+relative()}}, \mbox{\hyperlink{group__Eina__Inline__List__Group_ga67262fcdc659f1a8ca424fecbb8c3b89}{eina\+\_\+inlist\+\_\+sorted\+\_\+state\+\_\+init()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{struct__Eina__Inlist_ae95deba8e271f94f8ad8aecf7fdb5dde}{\+\_\+\+Eina\+\_\+\+Inlist\+::next}}.

\mbox{\Hypertarget{group__Eina__Inline__List__Group_gac90bccf34dd6ab15c8a969fa24d1858a}\label{group__Eina__Inline__List__Group_gac90bccf34dd6ab15c8a969fa24d1858a}} 
\index{Inline List@{Inline List}!eina\_inlist\_sorted\_state\_new@{eina\_inlist\_sorted\_state\_new}}
\index{eina\_inlist\_sorted\_state\_new@{eina\_inlist\_sorted\_state\_new}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{eina\_inlist\_sorted\_state\_new()}{eina\_inlist\_sorted\_state\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gae16e1ec496f4f97f74225f070cd09b93}{Eina\+\_\+\+Inlist\+\_\+\+Sorted\+\_\+\+State}} $\ast$ eina\+\_\+inlist\+\_\+sorted\+\_\+state\+\_\+new (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Creates state with valid data in it. 

\begin{DoxyReturn}{Returns}
A valid Eina\+\_\+\+Inlist\+\_\+\+Sorted\+\_\+\+State.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
See \mbox{\hyperlink{group__Eina__Inline__List__Group_gad5252fcbee66f60598795e718ce1dcf2}{eina\+\_\+inlist\+\_\+sorted\+\_\+state\+\_\+insert()}} for more information. \mbox{\Hypertarget{group__Eina__Inline__List__Group_ga67262fcdc659f1a8ca424fecbb8c3b89}\label{group__Eina__Inline__List__Group_ga67262fcdc659f1a8ca424fecbb8c3b89}} 
\index{Inline List@{Inline List}!eina\_inlist\_sorted\_state\_init@{eina\_inlist\_sorted\_state\_init}}
\index{eina\_inlist\_sorted\_state\_init@{eina\_inlist\_sorted\_state\_init}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{eina\_inlist\_sorted\_state\_init()}{eina\_inlist\_sorted\_state\_init()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} int eina\+\_\+inlist\+\_\+sorted\+\_\+state\+\_\+init (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gae16e1ec496f4f97f74225f070cd09b93}{Eina\+\_\+\+Inlist\+\_\+\+Sorted\+\_\+\+State}} $\ast$}]{state,  }\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{list }\end{DoxyParamCaption})}



Forces an Eina\+\_\+\+Inlist\+\_\+\+Sorted\+\_\+\+State to match the content of a list. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em state} & The state to update \\
\hline
\mbox{\texttt{ in}}  & {\em list} & The list to match \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The number of item in the actually in the list
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
See \mbox{\hyperlink{group__Eina__Inline__List__Group_gad5252fcbee66f60598795e718ce1dcf2}{eina\+\_\+inlist\+\_\+sorted\+\_\+state\+\_\+insert()}} for more information. This function is useful if you didn\textquotesingle{}t use \mbox{\hyperlink{group__Eina__Inline__List__Group_gad5252fcbee66f60598795e718ce1dcf2}{eina\+\_\+inlist\+\_\+sorted\+\_\+state\+\_\+insert()}} at some point, but still think you have a sorted list. It will only correctly work on a sorted list. 

References \mbox{\hyperlink{struct__Eina__Inlist_ae95deba8e271f94f8ad8aecf7fdb5dde}{\+\_\+\+Eina\+\_\+\+Inlist\+::next}}.



Referenced by \mbox{\hyperlink{group__Eina__Inline__List__Group_ga7c541686db382d473d0cba9e0a8f633e}{eina\+\_\+inlist\+\_\+sorted\+\_\+insert()}}.

\mbox{\Hypertarget{group__Eina__Inline__List__Group_gab8e2c496d4dba8eef0732fbde82df908}\label{group__Eina__Inline__List__Group_gab8e2c496d4dba8eef0732fbde82df908}} 
\index{Inline List@{Inline List}!eina\_inlist\_sorted\_state\_free@{eina\_inlist\_sorted\_state\_free}}
\index{eina\_inlist\_sorted\_state\_free@{eina\_inlist\_sorted\_state\_free}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{eina\_inlist\_sorted\_state\_free()}{eina\_inlist\_sorted\_state\_free()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} void eina\+\_\+inlist\+\_\+sorted\+\_\+state\+\_\+free (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gae16e1ec496f4f97f74225f070cd09b93}{Eina\+\_\+\+Inlist\+\_\+\+Sorted\+\_\+\+State}} $\ast$}]{state }\end{DoxyParamCaption})}



Frees an Eina\+\_\+\+Inlist\+\_\+\+Sorted\+\_\+\+State. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em state} & The state to destroy\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
See \mbox{\hyperlink{group__Eina__Inline__List__Group_gad5252fcbee66f60598795e718ce1dcf2}{eina\+\_\+inlist\+\_\+sorted\+\_\+state\+\_\+insert()}} for more information. \mbox{\Hypertarget{group__Eina__Inline__List__Group_gad5252fcbee66f60598795e718ce1dcf2}\label{group__Eina__Inline__List__Group_gad5252fcbee66f60598795e718ce1dcf2}} 
\index{Inline List@{Inline List}!eina\_inlist\_sorted\_state\_insert@{eina\_inlist\_sorted\_state\_insert}}
\index{eina\_inlist\_sorted\_state\_insert@{eina\_inlist\_sorted\_state\_insert}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{eina\_inlist\_sorted\_state\_insert()}{eina\_inlist\_sorted\_state\_insert()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ eina\+\_\+inlist\+\_\+sorted\+\_\+state\+\_\+insert (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{list,  }\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{item,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga1b31ffcc0d46eed63a2381c5a011b486}{Eina\+\_\+\+Compare\+\_\+\+Cb}}}]{func,  }\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gae16e1ec496f4f97f74225f070cd09b93}{Eina\+\_\+\+Inlist\+\_\+\+Sorted\+\_\+\+State}} $\ast$}]{state }\end{DoxyParamCaption})}



Inserts a new node into a sorted list. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em list} & The given linked list, {\bfseries{must}} be sorted. \\
\hline
\mbox{\texttt{ in}}  & {\em item} & list node to insert, must not be {\ttfamily NULL}. \\
\hline
\mbox{\texttt{ in}}  & {\em func} & The function called for the sort. \\
\hline
\mbox{\texttt{ in,out}}  & {\em state} & The current array for initial dichotomic search \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A list pointer. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1.\+0
\end{DoxySince}
This function inserts item into a linked list assuming {\ttfamily state} matches the exact content order of the list. It uses {\ttfamily state} to do a fast first step dichotomic search before starting to walk the inlist itself. This makes this code much faster than \mbox{\hyperlink{group__Eina__Inline__List__Group_ga7c541686db382d473d0cba9e0a8f633e}{eina\+\_\+inlist\+\_\+sorted\+\_\+insert()}} as it doesn\textquotesingle{}t need to walk the list at all. The result is of course a sorted list with an updated state. If {\ttfamily list} is {\ttfamily NULL}, item is returned. On success, a new list pointer that should be used in place of the one given to this function is returned. Otherwise, the old pointer is returned.

\begin{DoxyNote}{Note}
O(log2(n)) comparisons (calls to {\ttfamily func}) average/worst case performance. As said in \mbox{\hyperlink{group__Eina__List__Group_ga4e667216422b60be1d6636f821eddea2}{eina\+\_\+list\+\_\+search\+\_\+sorted\+\_\+near\+\_\+list()}}, lists do not have O(1) access time, so walking to the correct node can be costly, but this version tries to minimize that by making it a O(log2(n)) for number small number. After n == 256, it starts to add a linear cost again. Consider worst case to be almost O(n) pointer dereference (list walk). 
\end{DoxyNote}


References \mbox{\hyperlink{group__Eina__Inline__List__Group_gaef650e653f43178ecfee2c661bea7a85}{eina\+\_\+inlist\+\_\+append()}}, \mbox{\hyperlink{group__Eina__Inline__List__Group_ga8bb0dbd2cd2ce2a39453d645239f9270}{eina\+\_\+inlist\+\_\+append\+\_\+relative()}}, \mbox{\hyperlink{group__Eina__Inline__List__Group_ga2cbaa546cd6224dde756d43a603ef463}{eina\+\_\+inlist\+\_\+prepend()}}, \mbox{\hyperlink{group__Eina__Inline__List__Group_ga116e6960648d7a094c3948030035df78}{eina\+\_\+inlist\+\_\+prepend\+\_\+relative()}}, and \mbox{\hyperlink{struct__Eina__Inlist_ae95deba8e271f94f8ad8aecf7fdb5dde}{\+\_\+\+Eina\+\_\+\+Inlist\+::next}}.



Referenced by \mbox{\hyperlink{group__Eldbus__Signal__Handler_gaa2c32c046b21c5474a2f9eccf5bb8dc2}{eldbus\+\_\+signal\+\_\+handler\+\_\+match\+\_\+extra\+\_\+vset()}}.

\mbox{\Hypertarget{group__Eina__Inline__List__Group_ga33c8505a9217369cb0b4fdc7118776a9}\label{group__Eina__Inline__List__Group_ga33c8505a9217369cb0b4fdc7118776a9}} 
\index{Inline List@{Inline List}!eina\_inlist\_sort@{eina\_inlist\_sort}}
\index{eina\_inlist\_sort@{eina\_inlist\_sort}!Inline List@{Inline List}}
\doxysubsubsection{\texorpdfstring{eina\_inlist\_sort()}{eina\_inlist\_sort()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ eina\+\_\+inlist\+\_\+sort (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$}]{head,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga1b31ffcc0d46eed63a2381c5a011b486}{Eina\+\_\+\+Compare\+\_\+\+Cb}}}]{func }\end{DoxyParamCaption})}



Sorts a list according to the ordering func will return. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em head} & The list handle to sort. \\
\hline
\mbox{\texttt{ in}}  & {\em func} & A function pointer that can handle comparing the list data nodes. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the new head of list.
\end{DoxyReturn}
This function sorts all the elements of {\ttfamily head}. {\ttfamily func} is used to compare two elements of {\ttfamily head}. If {\ttfamily head} or {\ttfamily func} are {\ttfamily NULL}, this function returns {\ttfamily NULL}.

\begin{DoxyNote}{Note}
{\bfseries{in-\/place}}\+: this will change the given list, so you should now point to the new list head that is returned by this function.

Worst case is O(n $\ast$ log2(n)) comparisons (calls to func()). That means that for 1,000,000 list elements, sort will do 20,000,000 comparisons.
\end{DoxyNote}
Example\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }\_Sort\_Ex\ Sort\_Ex;}
\DoxyCodeLine{\textcolor{keyword}{struct\ }\_Sort\_Ex}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \mbox{\hyperlink{group__Eina__Inline__List__Group_gab30a76fcfa50307c797491705d60136a}{EINA\_INLIST}};}
\DoxyCodeLine{\ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *text;}
\DoxyCodeLine{\};}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keywordtype}{int}}
\DoxyCodeLine{sort\_cb(\textcolor{keyword}{const}\ Inlist\ *l1,\ \textcolor{keyword}{const}\ Inlist\ *l2)}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \ \textcolor{keyword}{const}\ Sort\_Ex\ *x1;}
\DoxyCodeLine{\ \ \ \textcolor{keyword}{const}\ Sort\_Ex\ *x2;}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ x1\ =\ \mbox{\hyperlink{group__Eina__Inline__List__Group_ga8c4e6011e7caa9ec5c22b003c4950338}{EINA\_INLIST\_CONTAINER\_GET}}(l1,\ Sort\_Ex);}
\DoxyCodeLine{\ \ \ x2\ =\ \mbox{\hyperlink{group__Eina__Inline__List__Group_ga8c4e6011e7caa9ec5c22b003c4950338}{EINA\_INLIST\_CONTAINER\_GET}}(l2,\ Sort\_Ex);}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ \textcolor{keywordflow}{return}(strcmp(x1-\/>text,\ x2-\/>text));}
\DoxyCodeLine{\}}
\DoxyCodeLine{\textcolor{keyword}{extern}\ \mbox{\hyperlink{struct__Eina__Inlist}{Eina\_Inlist}}\ *list;}
\DoxyCodeLine{}
\DoxyCodeLine{list\ =\ \mbox{\hyperlink{group__Eina__Inline__List__Group_ga33c8505a9217369cb0b4fdc7118776a9}{eina\_inlist\_sort}}(list,\ sort\_cb);}

\end{DoxyCode}
 

References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{struct__Eina__Inlist_a8fdb89dd18e0b002a8d47e92ea754115}{\+\_\+\+Eina\+\_\+\+Inlist\+::last}}, and \mbox{\hyperlink{struct__Eina__Inlist_ae95deba8e271f94f8ad8aecf7fdb5dde}{\+\_\+\+Eina\+\_\+\+Inlist\+::next}}.

