<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>rpm: lua/ltable.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.4.7 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li id="current"><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul></div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul></div> <h1>lua/ltable.h</h1><a href="ltable_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> <a name="l00002"></a>00002 <span class="comment">** $Id: ltable.h,v 1.2 2004/03/23 05:09:14 jbj Exp $</span> <a name="l00003"></a>00003 <span class="comment">** Lua tables (hash)</span> <a name="l00004"></a>00004 <span class="comment">** See Copyright Notice in lua.h</span> <a name="l00005"></a>00005 <span class="comment">*/</span> <a name="l00006"></a>00006 <a name="l00007"></a>00007 <span class="preprocessor">#ifndef ltable_h</span> <a name="l00008"></a>00008 <span class="preprocessor"></span><span class="preprocessor">#define ltable_h</span> <a name="l00009"></a>00009 <span class="preprocessor"></span> <a name="l00010"></a>00010 <span class="preprocessor">#include "<a class="code" href="lobject_8h.html">lobject.h</a>"</span> <a name="l00011"></a>00011 <a name="l00012"></a>00012 <a name="l00013"></a><a class="code" href="ltable_8h.html#644cfa3b6d4be1782e818a8340b5f78b">00013</a> <span class="preprocessor">#define gnode(t,i) (&(t)->node[i])</span> <a name="l00014"></a><a class="code" href="ltable_8h.html#d8f233e3b7156cd470d0ac21d7b54c11">00014</a> <span class="preprocessor"></span><span class="preprocessor">#define gkey(n) (&(n)->i_key)</span> <a name="l00015"></a><a class="code" href="ltable_8h.html#cbbecd9bd8fbb72a17f6e2f5acf7113d">00015</a> <span class="preprocessor"></span><span class="preprocessor">#define gval(n) (&(n)->i_val)</span> <a name="l00016"></a>00016 <span class="preprocessor"></span> <a name="l00017"></a>00017 <a name="l00018"></a>00018 <span class="comment">/*@observer@*/</span> <a name="l00019"></a>00019 <span class="keyword">const</span> <a class="code" href="structlua__TObject.html">TObject</a> *<a class="code" href="ltable_8c.html#5adc9d98c41d5fc34a64ee820eb6f9c4">luaH_getnum</a> (<a class="code" href="structTable.html">Table</a> *t, <span class="keywordtype">int</span> key) <a name="l00020"></a>00020 <span class="comment">/*@*/</span>; <a name="l00021"></a>00021 <a class="code" href="structlua__TObject.html">TObject</a> *<a class="code" href="ltable_8c.html#2a07d7b8b8057a42614efed8847eb857">luaH_setnum</a> (<a class="code" href="structlua__State.html">lua_State</a> *L, <a class="code" href="structTable.html">Table</a> *t, <span class="keywordtype">int</span> key) <a name="l00022"></a>00022 <span class="comment">/*@modifies L, t @*/</span>; <a name="l00023"></a>00023 <span class="comment">/*@observer@*/</span> <a name="l00024"></a>00024 <span class="keyword">const</span> <a class="code" href="structlua__TObject.html">TObject</a> *<a class="code" href="ltable_8c.html#52ff8a892cd9c613613f1c90717fd6c8">luaH_getstr</a> (<a class="code" href="structTable.html">Table</a> *t, <a class="code" href="unionTString.html">TString</a> *key) <a name="l00025"></a>00025 <span class="comment">/*@*/</span>; <a name="l00026"></a>00026 <span class="comment">/*@observer@*/</span> <a name="l00027"></a>00027 <span class="keyword">const</span> <a class="code" href="structlua__TObject.html">TObject</a> *<a class="code" href="ltable_8c.html#204738ae06731c9be950e7385bb1fd17">luaH_get</a> (<a class="code" href="structTable.html">Table</a> *t, <span class="keyword">const</span> <a class="code" href="structlua__TObject.html">TObject</a> *key) <a name="l00028"></a>00028 <span class="comment">/*@*/</span>; <a name="l00029"></a>00029 <a class="code" href="structlua__TObject.html">TObject</a> *<a class="code" href="ltable_8c.html#593c3efe2746f45037990c660743e005">luaH_set</a> (<a class="code" href="structlua__State.html">lua_State</a> *L, <a class="code" href="structTable.html">Table</a> *t, <span class="keyword">const</span> <a class="code" href="structlua__TObject.html">TObject</a> *key) <a name="l00030"></a>00030 <span class="comment">/*@modifies L, t @*/</span>; <a name="l00031"></a>00031 <span class="comment">/*@null@*/</span> <a name="l00032"></a>00032 <a class="code" href="structTable.html">Table</a> *<a class="code" href="ltable_8c.html#a3da0ffbd52f1add68d003264c60eb6b">luaH_new</a> (<a class="code" href="structlua__State.html">lua_State</a> *L, <span class="keywordtype">int</span> narray, <span class="keywordtype">int</span> lnhash) <a name="l00033"></a>00033 <span class="comment">/*@modifies L @*/</span>; <a name="l00034"></a>00034 <span class="keywordtype">void</span> <a class="code" href="ltable_8c.html#c6d94de2e83b5b0865b4aca30dec5c8c">luaH_free</a> (<a class="code" href="structlua__State.html">lua_State</a> *L, <a class="code" href="structTable.html">Table</a> *t) <a name="l00035"></a>00035 <span class="comment">/*@modifies L, t @*/</span>; <a name="l00036"></a>00036 <span class="keywordtype">int</span> <a class="code" href="ltable_8c.html#3c4370ade14fcc86ede5ca90271d0f30">luaH_next</a> (<a class="code" href="structlua__State.html">lua_State</a> *L, <a class="code" href="structTable.html">Table</a> *t, <a class="code" href="structlua__TObject.html">StkId</a> key) <a name="l00037"></a>00037 <span class="comment">/*@modifies L, key @*/</span>; <a name="l00038"></a>00038 <a name="l00039"></a>00039 <span class="comment">/* exported only for debugging */</span> <a name="l00040"></a>00040 <a class="code" href="structNode.html">Node</a> *<a class="code" href="ltable_8c.html#248adf3579e5e32f66ea45bad0ddc851">luaH_mainposition</a> (<span class="keyword">const</span> <a class="code" href="structTable.html">Table</a> *t, <span class="keyword">const</span> <a class="code" href="structlua__TObject.html">TObject</a> *key) <a name="l00041"></a>00041 <span class="comment">/*@*/</span>; <a name="l00042"></a>00042 <a name="l00043"></a>00043 <a name="l00044"></a>00044 <span class="preprocessor">#endif</span> </pre></div><hr size="1"><address style="align: right;"><small>Generated on 1 Oct 2013 for rpm by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address> </body> </html>