<html> <head> <title>Embryo: Byte Swapping 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>Byte Swapping Functions</h1> </div> </div> <div class="contents"> <p>Functions that are used to ensure that integers passed to the virtual machine are in small endian format. <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__Swap__Group.html#ga91ad5e66010d1c5ac55f1bde5fc88770">embryo_swap_16</a> (unsigned short *v __UNUSED__)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Ensures that the given unsigned short integer is in the small endian format. <a href="#ga91ad5e66010d1c5ac55f1bde5fc88770"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">EAPI void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Embryo__Swap__Group.html#ga20bca7c21b156fdd861aae91c76cc9ca">embryo_swap_32</a> (unsigned int *v __UNUSED__)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Ensures that the given unsigned integer is in the small endian format. <a href="#ga20bca7c21b156fdd861aae91c76cc9ca"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Functions that are used to ensure that integers passed to the virtual machine are in small endian format. </p> <p>These functions are used to ensure that the virtual machine operates correctly on big endian machines. </p> <hr/><h2>Function Documentation</h2> <a class="anchor" id="ga91ad5e66010d1c5ac55f1bde5fc88770"></a><!-- doxytag: member="embryo_amx.c::embryo_swap_16" ref="ga91ad5e66010d1c5ac55f1bde5fc88770" args="(unsigned short *v __UNUSED__)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI void embryo_swap_16 </td> <td>(</td> <td class="paramtype">unsigned short *v </td> <td class="paramname"><em>__UNUSED__</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Ensures that the given unsigned short integer is in the small endian format. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">v</td><td>Pointer to the given integer. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ga20bca7c21b156fdd861aae91c76cc9ca"></a><!-- doxytag: member="embryo_amx.c::embryo_swap_32" ref="ga20bca7c21b156fdd861aae91c76cc9ca" args="(unsigned int *v __UNUSED__)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">EAPI void embryo_swap_32 </td> <td>(</td> <td class="paramtype">unsigned int *v </td> <td class="paramname"><em>__UNUSED__</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Ensures that the given unsigned integer is in the small endian format. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">v</td><td>Pointer to the given integer. </td></tr> </table> </dd> </dl> <p>Referenced by <a class="el" href="group__Embryo__Program__Creation__Group.html#gadbef6b87b7f54360b95dfce854b6c91a">embryo_program_load()</a>.</p> </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>