\hypertarget{group__Embryo__Swap__Group}{}\doxysection{Byte Swapping Functions}
\label{group__Embryo__Swap__Group}\index{Byte Swapping Functions@{Byte Swapping Functions}}


Functions that are used to ensure that integers passed to the virtual machine are in small endian format.  


\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} void \mbox{\hyperlink{group__Embryo__Swap__Group_ga06748df04e7ec028a5bf81b6a2a820db}{embryo\+\_\+swap\+\_\+16}} (unsigned short $\ast$v)
\begin{DoxyCompactList}\small\item\em Ensures that the given unsigned short integer is in the small endian format. \end{DoxyCompactList}\item 
\mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} void \mbox{\hyperlink{group__Embryo__Swap__Group_ga9131c33a606c33dbe1dd8a2632567cdf}{embryo\+\_\+swap\+\_\+32}} (unsigned int $\ast$v)
\begin{DoxyCompactList}\small\item\em Ensures that the given unsigned integer is in the small endian format. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Functions that are used to ensure that integers passed to the virtual machine are in small endian format. 

These functions are used to ensure that the virtual machine operates correctly on big endian machines. 

\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Embryo__Swap__Group_ga06748df04e7ec028a5bf81b6a2a820db}\label{group__Embryo__Swap__Group_ga06748df04e7ec028a5bf81b6a2a820db}} 
\index{Byte Swapping Functions@{Byte Swapping Functions}!embryo\_swap\_16@{embryo\_swap\_16}}
\index{embryo\_swap\_16@{embryo\_swap\_16}!Byte Swapping Functions@{Byte Swapping Functions}}
\doxysubsubsection{\texorpdfstring{embryo\_swap\_16()}{embryo\_swap\_16()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} void embryo\+\_\+swap\+\_\+16 (\begin{DoxyParamCaption}\item[{unsigned short $\ast$}]{v }\end{DoxyParamCaption})}



Ensures that the given unsigned short integer is in the small endian format. 


\begin{DoxyParams}{Parameters}
{\em v} & Pointer to the given integer. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Embryo__Swap__Group_ga9131c33a606c33dbe1dd8a2632567cdf}\label{group__Embryo__Swap__Group_ga9131c33a606c33dbe1dd8a2632567cdf}} 
\index{Byte Swapping Functions@{Byte Swapping Functions}!embryo\_swap\_32@{embryo\_swap\_32}}
\index{embryo\_swap\_32@{embryo\_swap\_32}!Byte Swapping Functions@{Byte Swapping Functions}}
\doxysubsubsection{\texorpdfstring{embryo\_swap\_32()}{embryo\_swap\_32()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} void embryo\+\_\+swap\+\_\+32 (\begin{DoxyParamCaption}\item[{unsigned int $\ast$}]{v }\end{DoxyParamCaption})}



Ensures that the given unsigned integer is in the small endian format. 


\begin{DoxyParams}{Parameters}
{\em v} & Pointer to the given integer. \\
\hline
\end{DoxyParams}


Referenced by embryo\+\_\+program\+\_\+load().

