\hypertarget{group__Embryo__Data__String__Group}{}\doxysection{Embryo Data String Functions}
\label{group__Embryo__Data__String__Group}\index{Embryo Data String Functions@{Embryo Data String Functions}}


Retrieves the length of the string starting at the given cell.  


\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Embryo__Data__String__Group_ga6056316c070a146eb63f08e8e4176328}{embryo\+\_\+data\+\_\+string\+\_\+get}} (Embryo\+\_\+\+Program $\ast$ep, Embryo\+\_\+\+Cell $\ast$str\+\_\+cell, char $\ast$dst)
\begin{DoxyCompactList}\small\item\em Copies the string starting at the given cell to the given buffer. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Embryo__Data__String__Group_ga2f1b7e5ce221aaada5663e46f2578815}{embryo\+\_\+data\+\_\+string\+\_\+set}} (Embryo\+\_\+\+Program $\ast$ep, const char $\ast$src, Embryo\+\_\+\+Cell $\ast$str\+\_\+cell)
\begin{DoxyCompactList}\small\item\em Copies string in the given buffer into the virtual machine memory starting at the given cell. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} Embryo\+\_\+\+Cell $\ast$ \mbox{\hyperlink{group__Embryo__Data__String__Group_gaa9c6beeb074c4495711c4817874ce04e}{embryo\+\_\+data\+\_\+address\+\_\+get}} (Embryo\+\_\+\+Program $\ast$ep, Embryo\+\_\+\+Cell addr)
\begin{DoxyCompactList}\small\item\em Retreives a pointer to the address in the virtual machine given by the given cell. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Retrieves the length of the string starting at the given cell. 


\begin{DoxyParams}{Parameters}
{\em ep} & The program the cell is part of. \\
\hline
{\em str\+\_\+cell} & Pointer to the first cell of the string. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The length of the string. {\ttfamily 0} is returned if there is an error.
\end{DoxyReturn}
Functions that operate on strings in the memory of a virtual machine. 

\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Embryo__Data__String__Group_ga6056316c070a146eb63f08e8e4176328}\label{group__Embryo__Data__String__Group_ga6056316c070a146eb63f08e8e4176328}} 
\index{Embryo Data String Functions@{Embryo Data String Functions}!embryo\_data\_string\_get@{embryo\_data\_string\_get}}
\index{embryo\_data\_string\_get@{embryo\_data\_string\_get}!Embryo Data String Functions@{Embryo Data String Functions}}
\doxysubsubsection{\texorpdfstring{embryo\_data\_string\_get()}{embryo\_data\_string\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void embryo\+\_\+data\+\_\+string\+\_\+get (\begin{DoxyParamCaption}\item[{Embryo\+\_\+\+Program $\ast$}]{ep,  }\item[{Embryo\+\_\+\+Cell $\ast$}]{str\+\_\+cell,  }\item[{char $\ast$}]{dst }\end{DoxyParamCaption})}



Copies the string starting at the given cell to the given buffer. 


\begin{DoxyParams}{Parameters}
{\em ep} & The program the cell is part of. \\
\hline
{\em str\+\_\+cell} & Pointer to the first cell of the string. \\
\hline
{\em dst} & The given buffer. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Embryo__Data__String__Group_ga2f1b7e5ce221aaada5663e46f2578815}\label{group__Embryo__Data__String__Group_ga2f1b7e5ce221aaada5663e46f2578815}} 
\index{Embryo Data String Functions@{Embryo Data String Functions}!embryo\_data\_string\_set@{embryo\_data\_string\_set}}
\index{embryo\_data\_string\_set@{embryo\_data\_string\_set}!Embryo Data String Functions@{Embryo Data String Functions}}
\doxysubsubsection{\texorpdfstring{embryo\_data\_string\_set()}{embryo\_data\_string\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void embryo\+\_\+data\+\_\+string\+\_\+set (\begin{DoxyParamCaption}\item[{Embryo\+\_\+\+Program $\ast$}]{ep,  }\item[{const char $\ast$}]{src,  }\item[{Embryo\+\_\+\+Cell $\ast$}]{str\+\_\+cell }\end{DoxyParamCaption})}



Copies string in the given buffer into the virtual machine memory starting at the given cell. 


\begin{DoxyParams}{Parameters}
{\em ep} & The program the cell is part of. \\
\hline
{\em src} & The given buffer. \\
\hline
{\em str\+\_\+cell} & Pointer to the first cell to copy the string to. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Embryo__Data__String__Group_gaa9c6beeb074c4495711c4817874ce04e}\label{group__Embryo__Data__String__Group_gaa9c6beeb074c4495711c4817874ce04e}} 
\index{Embryo Data String Functions@{Embryo Data String Functions}!embryo\_data\_address\_get@{embryo\_data\_address\_get}}
\index{embryo\_data\_address\_get@{embryo\_data\_address\_get}!Embryo Data String Functions@{Embryo Data String Functions}}
\doxysubsubsection{\texorpdfstring{embryo\_data\_address\_get()}{embryo\_data\_address\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} Embryo\+\_\+\+Cell$\ast$ embryo\+\_\+data\+\_\+address\+\_\+get (\begin{DoxyParamCaption}\item[{Embryo\+\_\+\+Program $\ast$}]{ep,  }\item[{Embryo\+\_\+\+Cell}]{addr }\end{DoxyParamCaption})}



Retreives a pointer to the address in the virtual machine given by the given cell. 


\begin{DoxyParams}{Parameters}
{\em ep} & The program whose virtual machine address is being queried. \\
\hline
{\em addr} & The given cell. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A pointer to the cell at the given address. 
\end{DoxyReturn}
