<html> <head> <title>Embryo: Function Functions</title> <meta http-equiv="content-type" content="text/html;charset=UTF-8"> <meta name="author" content="Andres Blanc" > <link rel="icon" href="img/favicon.png" type="image/x-icon"> <link rel="shortcut icon" href="img/favicon.png" type="image/x-icon"> <link rel="icon" href="img/favicon.png" type="image/ico"> <link rel="shortcut icon" href="img/favicon.png" type="image/ico"> <link rel="stylesheet" type="text/css" media="screen" href="e.css"> <link rel="stylesheet" type="text/css" media="screen" href="edoxy.css"> </head> <body> <div id="container"> <div id="header"> <div class="layout"> <h1><span>Enlightenment</span></h1> <h2><span>Beauty at your fingertips</span></h2> <div class="menu-container"> <div class="menu"> <ul> <li class="current"><a href="http://web.enlightenment.org/p.php?p=docs">Docs</a></li> <li><a href="http://trac.enlightenment.org/e">Tracker</a></li> <li><a href="http://www.enlightenment.org/p.php?p=contact">Contact</a></li> <li><a href="http://www.enlightenment.org/p.php?p=contribute">Contribute</a></li> <li><a href="http://www.enlightenment.org/p.php?p=support">Support</a></li> <li><a href="http://www.enlightenment.org/p.php?p=download">Download</a></li> <li><a href="http://www.enlightenment.org/p.php?p=about">About</a></li> <li><a href="http://www.enlightenment.org/p.php?p=news">News</a></li> <li><a href="http://www.enlightenment.org/">Home</a></li> </ul> </div> </div> <div class="doxytitle"> Embryo Documentation <small>at Tue Feb 8 2011</small> </div> <div class="menu-container"> <div class="submenu"> <ul class="current"> <li><a href="todo.html">Todo</a></li> <li><a href="files.html">Files</a></li> <li><a href="annotated.html">Data Structures</a></li> <li><a href="globals.html">Globals</a></li> <li><a href="modules.html">Modules</a></li> <li><a href="pages.html">Related Pages</a></li> <li class="current"><a href="index.html">Main Page</a></li> </ul> </div> </div> <div class="clear"></div> </div> </div> <div id="content"> <div class="layout"> <!-- Generated by Doxygen 1.7.3 --> </div> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> </div> <div class="headertitle"> <h1>Function Functions</h1> </div> </div> <div class="contents"> <p>Functions that deal with Embryo program functions. <a href="#_details">More...</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Embryo__Func__Group.html#ga1164bbcc4dc623c54a1916f05499c9cb">embryo_program_native_call_add</a> (Embryo_Program *ep, const char *name, Embryo_Cell(*func)(Embryo_Program *ep, Embryo_Cell *params))</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a native program call to the given Embryo program. <a href="#ga1164bbcc4dc623c54a1916f05499c9cb"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI Embryo_Function </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Embryo__Func__Group.html#ga8da497a811da37c0396eeeb6b9331679">embryo_program_function_find</a> (Embryo_Program *ep, const char *name)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the function in the given program with the given name. <a href="#ga8da497a811da37c0396eeeb6b9331679"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Functions that deal with Embryo program functions. </p> <hr/><h2>Function Documentation</h2> <a class="anchor" id="ga8da497a811da37c0396eeeb6b9331679"></a><!-- doxytag: member="embryo_amx.c::embryo_program_function_find" ref="ga8da497a811da37c0396eeeb6b9331679" args="(Embryo_Program *ep, const char *name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI Embryo_Function embryo_program_function_find </td> <td>(</td> <td class="paramtype">Embryo_Program * </td> <td class="paramname"><em>ep</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>name</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the function in the given program with the given name. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">ep</td><td>The given program. </td></tr> <tr><td class="paramname">name</td><td>The given function name. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The function if successful. Otherwise, <code>EMBRYO_FUNCTION_NONE</code>. </dd></dl> <p>References <a class="el" href="Embryo_8h.html#a51b319166cdbe24a6a798339522eb50d">EMBRYO_FUNCTION_NONE</a>.</p> </div> </div> <a class="anchor" id="ga1164bbcc4dc623c54a1916f05499c9cb"></a><!-- doxytag: member="embryo_amx.c::embryo_program_native_call_add" ref="ga1164bbcc4dc623c54a1916f05499c9cb" args="(Embryo_Program *ep, const char *name, Embryo_Cell(*func)(Embryo_Program *ep, Embryo_Cell *params))" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI void embryo_program_native_call_add </td> <td>(</td> <td class="paramtype">Embryo_Program * </td> <td class="paramname"><em>ep</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">Embryo_Cell(*)(Embryo_Program *ep, Embryo_Cell *params) </td> <td class="paramname"><em>func</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Adds a native program call to the given Embryo program. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">ep</td><td>The given Embryo program. </td></tr> <tr><td class="paramname">name</td><td>The name for the call used in the script. </td></tr> <tr><td class="paramname">func</td><td>The function to use when the call is made. </td></tr> </table> </dd> </dl> </div> </div> </div> <div id="push"></div> </div> <!-- #content --> </div> <!-- .layout --> </div> <!-- #container --> <div id="footer"> <table><tr> <td class="poweredby"><img src="doxygen.png"></td> <td class="copyright">Copyright ©2011 Enlightenment</td> <td class="generated">Docs generated Tue Feb 8 2011 18:11:42</td> </tr></table> </div> </body> </html>