
\begin{DoxyCodeInclude}{0}
\DoxyCodeLine{\textcolor{comment}{//Compile with:}}
\DoxyCodeLine{\textcolor{comment}{//gcc -\/g eina\_inarray\_02.c -\/o eina\_inarray\_02 `pkg-\/config -\/-\/cflags -\/-\/libs eina`}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{preprocessor}{\#include <\mbox{\hyperlink{Eina_8h}{Eina.h}}>}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{keywordtype}{int}}
\DoxyCodeLine{main(\textcolor{keywordtype}{int} argc \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}}, \textcolor{keywordtype}{char} **argv \mbox{\hyperlink{group__Eina__Types__Group_ga82d751be730f849719ca292f9558be87}{EINA\_UNUSED}})}
\DoxyCodeLine{\{}
\DoxyCodeLine{   \textcolor{keyword}{const} \textcolor{keywordtype}{char}* strings[] = \{}
\DoxyCodeLine{      \textcolor{stringliteral}{"{}helo"{}}, \textcolor{stringliteral}{"{}hera"{}}, \textcolor{stringliteral}{"{}starbuck"{}}, \textcolor{stringliteral}{"{}kat"{}}, \textcolor{stringliteral}{"{}boomer"{}},}
\DoxyCodeLine{      \textcolor{stringliteral}{"{}hotdog"{}}, \textcolor{stringliteral}{"{}longshot"{}}, \textcolor{stringliteral}{"{}jammer"{}}, \textcolor{stringliteral}{"{}crashdown"{}}, \textcolor{stringliteral}{"{}hardball"{}},}
\DoxyCodeLine{      \textcolor{stringliteral}{"{}duck"{}}, \textcolor{stringliteral}{"{}racetrack"{}}, \textcolor{stringliteral}{"{}apolo"{}}, \textcolor{stringliteral}{"{}husker"{}}, \textcolor{stringliteral}{"{}freaker"{}},}
\DoxyCodeLine{      \textcolor{stringliteral}{"{}skulls"{}}, \textcolor{stringliteral}{"{}bulldog"{}}, \textcolor{stringliteral}{"{}flat top"{}}, \textcolor{stringliteral}{"{}hammerhead"{}}, \textcolor{stringliteral}{"{}gonzo"{}}}
\DoxyCodeLine{   \};}
\DoxyCodeLine{   \textcolor{keywordtype}{char} **str, **str2;}
\DoxyCodeLine{   \mbox{\hyperlink{struct__Eina__Inarray}{Eina\_Inarray}} *iarr;}
\DoxyCodeLine{   \textcolor{keywordtype}{int} i;}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Eina__Main__Group_gafee4bfc0e509b6ffed6598edf6f4b3de}{eina\_init}}();}
\DoxyCodeLine{   iarr = \mbox{\hyperlink{group__Eina__Inline__Array__Group_ga38a116a1355055b470c31bb4f633e53b}{eina\_inarray\_new}}(\textcolor{keyword}{sizeof}(\textcolor{keywordtype}{char} *), 0);}
\DoxyCodeLine{}
\DoxyCodeLine{   \textcolor{keywordflow}{for} (i = 0; i < 20; i++)\{}
\DoxyCodeLine{     str = (\textcolor{keywordtype}{char} **)(\&strings[i]);}
\DoxyCodeLine{      \mbox{\hyperlink{group__Eina__Inline__Array__Group_ga6b9a97816b98ccf9be6b65ca06b90013}{eina\_inarray\_push}}(iarr, str);}
\DoxyCodeLine{   \}}
\DoxyCodeLine{}
\DoxyCodeLine{   printf(\textcolor{stringliteral}{"{}Inline array of strings:\(\backslash\)n"{}});}
\DoxyCodeLine{   \mbox{\hyperlink{group__Eina__Inline__Array__Group_gab6ffcad27b5099aa34af9ecd5e2b22f9}{EINA\_INARRAY\_FOREACH}}(iarr, str2)}
\DoxyCodeLine{     printf(\textcolor{stringliteral}{"{}string: \%s(pointer: \%p)\(\backslash\)n"{}}, *str2, str2);}
\DoxyCodeLine{}
\DoxyCodeLine{   \mbox{\hyperlink{group__Eina__Inline__Array__Group_ga369b3090b7c04377eaceb6bebfe36e06}{eina\_inarray\_free}}(iarr);}
\DoxyCodeLine{   \mbox{\hyperlink{group__Eina__Main__Group_ga2c8b4020427108a30c44707af22c99d3}{eina\_shutdown}}();}
\DoxyCodeLine{\}}

\end{DoxyCodeInclude}
 