\hypertarget{ltable_8h}{
\section{ltable.h File Reference}
\label{ltable_8h}\index{ltable.h@{ltable.h}}
}
{\tt \#include \char`\"{}lobject.h\char`\"{}}\par
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define \hyperlink{ltable_8h_644cfa3b6d4be1782e818a8340b5f78b}{gnode}(t, i)~(\&(t) $\rightarrow$ node\mbox{[}i\mbox{]})
\item 
\#define \hyperlink{ltable_8h_d8f233e3b7156cd470d0ac21d7b54c11}{gkey}(n)~(\&(n) $\rightarrow$ i\_\-key.nk)
\item 
\#define \hyperlink{ltable_8h_cbbecd9bd8fbb72a17f6e2f5acf7113d}{gval}(n)~(\&(n) $\rightarrow$ i\_\-val)
\item 
\#define \hyperlink{ltable_8h_ac0e00b2296e00cfc818b74f1aff4f8b}{gnext}(n)~((n) $\rightarrow$ i\_\-key.nk.next)
\item 
\#define \hyperlink{ltable_8h_d11c13e5af1b38ffbb95935a53086fdf}{key2tval}(n)~(\&(n) $\rightarrow$ i\_\-key.tvk)
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
LUAI\_\-FUNC const \hyperlink{structlua__TValue}{TValue} $\ast$ \hyperlink{ltable_8h_958de88de9c68ec5f1455a7381b4a921}{luaH\_\-getnum} (\hyperlink{structTable}{Table} $\ast$t, int key)
\item 
LUAI\_\-FUNC \hyperlink{structlua__TValue}{TValue} $\ast$ \hyperlink{ltable_8h_2326ad0a899a124bd2ce37f36ca81fee}{luaH\_\-setnum} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{structTable}{Table} $\ast$t, int key)
\item 
LUAI\_\-FUNC const \hyperlink{structlua__TValue}{TValue} $\ast$ \hyperlink{ltable_8h_a15b03691edbc1f540a568518753f2d0}{luaH\_\-getstr} (\hyperlink{structTable}{Table} $\ast$t, \hyperlink{unionTString}{TString} $\ast$key)
\item 
LUAI\_\-FUNC \hyperlink{structlua__TValue}{TValue} $\ast$ \hyperlink{ltable_8h_8bc639210ed29eff6655a23913f1d2ac}{luaH\_\-setstr} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{structTable}{Table} $\ast$t, \hyperlink{unionTString}{TString} $\ast$key)
\item 
LUAI\_\-FUNC const \hyperlink{structlua__TValue}{TValue} $\ast$ \hyperlink{ltable_8h_d2db74e05e39b56bde8e580759ac2144}{luaH\_\-get} (\hyperlink{structTable}{Table} $\ast$t, const \hyperlink{structlua__TValue}{TValue} $\ast$key)
\item 
LUAI\_\-FUNC \hyperlink{structlua__TValue}{TValue} $\ast$ \hyperlink{ltable_8h_ad12092dcea6ae55728aadeeb0210d91}{luaH\_\-set} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{structTable}{Table} $\ast$t, const \hyperlink{structlua__TValue}{TValue} $\ast$key)
\item 
LUAI\_\-FUNC \hyperlink{structTable}{Table} $\ast$ \hyperlink{ltable_8h_986f459383e950135d7115c5057c9fa3}{luaH\_\-new} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int narray, int lnhash)
\item 
LUAI\_\-FUNC void \hyperlink{ltable_8h_243b2c9dd8755c68559af6b7065b1800}{luaH\_\-resizearray} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{structTable}{Table} $\ast$t, int nasize)
\item 
LUAI\_\-FUNC void \hyperlink{ltable_8h_a2e2ed92ac2178bb87aa3a178c0a83bb}{luaH\_\-free} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{structTable}{Table} $\ast$t)
\item 
LUAI\_\-FUNC int \hyperlink{ltable_8h_55be2c48e6e2c113dabda3819f5301e7}{luaH\_\-next} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{structTable}{Table} $\ast$t, \hyperlink{structlua__TValue}{StkId} key)
\item 
LUAI\_\-FUNC int \hyperlink{ltable_8h_636100933829e22c6430704be0f27021}{luaH\_\-getn} (\hyperlink{structTable}{Table} $\ast$t)
\end{CompactItemize}


\subsection{Define Documentation}
\hypertarget{ltable_8h_d8f233e3b7156cd470d0ac21d7b54c11}{
\index{ltable.h@{ltable.h}!gkey@{gkey}}
\index{gkey@{gkey}!ltable.h@{ltable.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define gkey(n)~(\&(n) $\rightarrow$ i\_\-key.nk)}}
\label{ltable_8h_d8f233e3b7156cd470d0ac21d7b54c11}


\hypertarget{ltable_8h_ac0e00b2296e00cfc818b74f1aff4f8b}{
\index{ltable.h@{ltable.h}!gnext@{gnext}}
\index{gnext@{gnext}!ltable.h@{ltable.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define gnext(n)~((n) $\rightarrow$ i\_\-key.nk.next)}}
\label{ltable_8h_ac0e00b2296e00cfc818b74f1aff4f8b}


\hypertarget{ltable_8h_644cfa3b6d4be1782e818a8340b5f78b}{
\index{ltable.h@{ltable.h}!gnode@{gnode}}
\index{gnode@{gnode}!ltable.h@{ltable.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define gnode(t, \/  i)~(\&(t) $\rightarrow$ node\mbox{[}i\mbox{]})}}
\label{ltable_8h_644cfa3b6d4be1782e818a8340b5f78b}


\hypertarget{ltable_8h_cbbecd9bd8fbb72a17f6e2f5acf7113d}{
\index{ltable.h@{ltable.h}!gval@{gval}}
\index{gval@{gval}!ltable.h@{ltable.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define gval(n)~(\&(n) $\rightarrow$ i\_\-val)}}
\label{ltable_8h_cbbecd9bd8fbb72a17f6e2f5acf7113d}


\hypertarget{ltable_8h_d11c13e5af1b38ffbb95935a53086fdf}{
\index{ltable.h@{ltable.h}!key2tval@{key2tval}}
\index{key2tval@{key2tval}!ltable.h@{ltable.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define key2tval(n)~(\&(n) $\rightarrow$ i\_\-key.tvk)}}
\label{ltable_8h_d11c13e5af1b38ffbb95935a53086fdf}




\subsection{Function Documentation}
\hypertarget{ltable_8h_a2e2ed92ac2178bb87aa3a178c0a83bb}{
\index{ltable.h@{ltable.h}!luaH\_\-free@{luaH\_\-free}}
\index{luaH\_\-free@{luaH\_\-free}!ltable.h@{ltable.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUAI\_\-FUNC void luaH\_\-free ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf Table} $\ast$ {\em t})}}
\label{ltable_8h_a2e2ed92ac2178bb87aa3a178c0a83bb}


\hypertarget{ltable_8h_d2db74e05e39b56bde8e580759ac2144}{
\index{ltable.h@{ltable.h}!luaH\_\-get@{luaH\_\-get}}
\index{luaH\_\-get@{luaH\_\-get}!ltable.h@{ltable.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUAI\_\-FUNC const {\bf TValue}$\ast$ luaH\_\-get ({\bf Table} $\ast$ {\em t}, \/  const {\bf TValue} $\ast$ {\em key})}}
\label{ltable_8h_d2db74e05e39b56bde8e580759ac2144}


\hypertarget{ltable_8h_636100933829e22c6430704be0f27021}{
\index{ltable.h@{ltable.h}!luaH\_\-getn@{luaH\_\-getn}}
\index{luaH\_\-getn@{luaH\_\-getn}!ltable.h@{ltable.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUAI\_\-FUNC int luaH\_\-getn ({\bf Table} $\ast$ {\em t})}}
\label{ltable_8h_636100933829e22c6430704be0f27021}


\hypertarget{ltable_8h_958de88de9c68ec5f1455a7381b4a921}{
\index{ltable.h@{ltable.h}!luaH\_\-getnum@{luaH\_\-getnum}}
\index{luaH\_\-getnum@{luaH\_\-getnum}!ltable.h@{ltable.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUAI\_\-FUNC const {\bf TValue}$\ast$ luaH\_\-getnum ({\bf Table} $\ast$ {\em t}, \/  int {\em key})}}
\label{ltable_8h_958de88de9c68ec5f1455a7381b4a921}


\hypertarget{ltable_8h_a15b03691edbc1f540a568518753f2d0}{
\index{ltable.h@{ltable.h}!luaH\_\-getstr@{luaH\_\-getstr}}
\index{luaH\_\-getstr@{luaH\_\-getstr}!ltable.h@{ltable.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUAI\_\-FUNC const {\bf TValue}$\ast$ luaH\_\-getstr ({\bf Table} $\ast$ {\em t}, \/  {\bf TString} $\ast$ {\em key})}}
\label{ltable_8h_a15b03691edbc1f540a568518753f2d0}


\hypertarget{ltable_8h_986f459383e950135d7115c5057c9fa3}{
\index{ltable.h@{ltable.h}!luaH\_\-new@{luaH\_\-new}}
\index{luaH\_\-new@{luaH\_\-new}!ltable.h@{ltable.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUAI\_\-FUNC {\bf Table}$\ast$ luaH\_\-new ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em narray}, \/  int {\em lnhash})}}
\label{ltable_8h_986f459383e950135d7115c5057c9fa3}


\hypertarget{ltable_8h_55be2c48e6e2c113dabda3819f5301e7}{
\index{ltable.h@{ltable.h}!luaH\_\-next@{luaH\_\-next}}
\index{luaH\_\-next@{luaH\_\-next}!ltable.h@{ltable.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUAI\_\-FUNC int luaH\_\-next ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf Table} $\ast$ {\em t}, \/  {\bf StkId} {\em key})}}
\label{ltable_8h_55be2c48e6e2c113dabda3819f5301e7}


\hypertarget{ltable_8h_243b2c9dd8755c68559af6b7065b1800}{
\index{ltable.h@{ltable.h}!luaH\_\-resizearray@{luaH\_\-resizearray}}
\index{luaH\_\-resizearray@{luaH\_\-resizearray}!ltable.h@{ltable.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUAI\_\-FUNC void luaH\_\-resizearray ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf Table} $\ast$ {\em t}, \/  int {\em nasize})}}
\label{ltable_8h_243b2c9dd8755c68559af6b7065b1800}


\hypertarget{ltable_8h_ad12092dcea6ae55728aadeeb0210d91}{
\index{ltable.h@{ltable.h}!luaH\_\-set@{luaH\_\-set}}
\index{luaH\_\-set@{luaH\_\-set}!ltable.h@{ltable.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUAI\_\-FUNC {\bf TValue}$\ast$ luaH\_\-set ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf Table} $\ast$ {\em t}, \/  const {\bf TValue} $\ast$ {\em key})}}
\label{ltable_8h_ad12092dcea6ae55728aadeeb0210d91}


\hypertarget{ltable_8h_2326ad0a899a124bd2ce37f36ca81fee}{
\index{ltable.h@{ltable.h}!luaH\_\-setnum@{luaH\_\-setnum}}
\index{luaH\_\-setnum@{luaH\_\-setnum}!ltable.h@{ltable.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUAI\_\-FUNC {\bf TValue}$\ast$ luaH\_\-setnum ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf Table} $\ast$ {\em t}, \/  int {\em key})}}
\label{ltable_8h_2326ad0a899a124bd2ce37f36ca81fee}


\hypertarget{ltable_8h_8bc639210ed29eff6655a23913f1d2ac}{
\index{ltable.h@{ltable.h}!luaH\_\-setstr@{luaH\_\-setstr}}
\index{luaH\_\-setstr@{luaH\_\-setstr}!ltable.h@{ltable.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUAI\_\-FUNC {\bf TValue}$\ast$ luaH\_\-setstr ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf Table} $\ast$ {\em t}, \/  {\bf TString} $\ast$ {\em key})}}
\label{ltable_8h_8bc639210ed29eff6655a23913f1d2ac}


