\doxysection{Init / Shutdown}
\hypertarget{group__Init}{}\label{group__Init}\index{Init / Shutdown@{Init / Shutdown}}


Init / shutdown functions.  


\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{struct__Elm__Code}{Elm\+\_\+\+Code}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__Init_ga2e1fd887ecc628761e8b79bc90eafbc7}{elm\+\_\+code\+\_\+create}} (void)
\begin{DoxyCompactList}\small\item\em Create a new Elm Code instance. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Init_gababec97a4b958a679bc9b7d1ab2501eb}{elm\+\_\+code\+\_\+free}} (\mbox{\hyperlink{struct__Elm__Code}{Elm\+\_\+\+Code}} \texorpdfstring{$\ast$}{*}code)
\begin{DoxyCompactList}\small\item\em Free an Elm Code instance. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Init / shutdown functions. 

Functions of obligatory usage, handling proper initialization and shutdown routines.

Before the usage of any other function, Elm Code should be properly initialized with elm\+\_\+code\+\_\+init() and the last call to Elm Code\textquotesingle{}s functions should be elm\+\_\+code\+\_\+shutdown(), so everything will be correctly freed.

Elm Code logs everything with Eina Log, using the "{}elm\+\_\+code"{} log domain. 

\doxysubsection{Function Documentation}
\Hypertarget{group__Init_ga2e1fd887ecc628761e8b79bc90eafbc7}\label{group__Init_ga2e1fd887ecc628761e8b79bc90eafbc7} 
\index{Init / Shutdown@{Init / Shutdown}!elm\_code\_create@{elm\_code\_create}}
\index{elm\_code\_create@{elm\_code\_create}!Init / Shutdown@{Init / Shutdown}}
\doxysubsubsection{\texorpdfstring{elm\_code\_create()}{elm\_code\_create()}}
{\footnotesize\ttfamily \mbox{\hyperlink{struct__Elm__Code}{Elm\+\_\+\+Code}} \texorpdfstring{$\ast$}{*} elm\+\_\+code\+\_\+create (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Create a new Elm Code instance. 

This method creates a new Elm Code instance using an in-\/memory file for backing changes. A regular file can be set after creation if required. Once an Elm Code has been created you can create widgets that render the content.

\begin{DoxyReturn}{Returns}
an allocated Elm\+\_\+\+Code that references the given file 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
elm\+\_\+code\+\_\+file\+\_\+open() 
\end{DoxySeeAlso}


References \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\Hypertarget{group__Init_gababec97a4b958a679bc9b7d1ab2501eb}\label{group__Init_gababec97a4b958a679bc9b7d1ab2501eb} 
\index{Init / Shutdown@{Init / Shutdown}!elm\_code\_free@{elm\_code\_free}}
\index{elm\_code\_free@{elm\_code\_free}!Init / Shutdown@{Init / Shutdown}}
\doxysubsubsection{\texorpdfstring{elm\_code\_free()}{elm\_code\_free()}}
{\footnotesize\ttfamily void elm\+\_\+code\+\_\+free (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct__Elm__Code}{Elm\+\_\+\+Code}} \texorpdfstring{$\ast$}{*}}]{code }\end{DoxyParamCaption})}



Free an Elm Code instance. 

Releases the resources retained by the code instance and any files it references. 

References \mbox{\hyperlink{group__Eina__List__Group_gae27a2c686a0a11693f9b06957c9bba83}{EINA\+\_\+\+LIST\+\_\+\+FREE}}, \mbox{\hyperlink{group__Evas__Object__Group__Basic_ga9217cf1d90690dbd1960db155d1c7476}{evas\+\_\+object\+\_\+del()}}, and \mbox{\hyperlink{group__Evas__Object__Group__Basic_gae66f71e09a0dc71675f15ebff6765c64}{evas\+\_\+object\+\_\+hide()}}.

