\section{include/persistent.h File Reference}
\label{persistent_8h}\index{include/persistent.h@{include/persistent.h}}
Interface: Definitions for persistent data. 

\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define {\bf \_\-\_\-persistent}\ \_\-\_\-attribute\_\-\_\- ((\_\-\_\-section\_\-\_\- (\char`\"{}.persist\char`\"{})))
\begin{CompactList}\small\item\em Define storage persistent across different runs of a program. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Interface: Definitions for persistent data. 

\begin{Desc}
\item[Author:]Eddie C. Dost $<${\tt ecd@skynet.be}$>$\end{Desc}


Definition in file {\bf persistent.h}.

\subsection{Define Documentation}
\index{persistent.h@{persistent.h}!__persistent@{\_\-\_\-persistent}}
\index{__persistent@{\_\-\_\-persistent}!persistent.h@{persistent.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define \_\-\_\-persistent\ \_\-\_\-attribute\_\-\_\- ((\_\-\_\-section\_\-\_\- (\char`\"{}.persist\char`\"{})))}\label{persistent_8h_a0}


Define storage persistent across different runs of a program. 

This macro is used to mark initialized data (doesn't apply to uninitialized data) as `persistent' data. This data will be saved across different runs of the program.

Usage: You should insert \_\-\_\-persistent between the variable name and equal sign followed by value, e.g:

static int counter \_\-\_\-persistent = 0; static char data[] \_\-\_\-persistent = \{ 0x32, 0x36, ... \}; 

Definition at line 51 of file persistent.h.