\hypertarget{ltm_8h}{
\section{ltm.h File Reference}
\label{ltm_8h}\index{ltm.h@{ltm.h}}
}
{\tt \#include \char`\"{}lobject.h\char`\"{}}\par
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define \hyperlink{ltm_8h_b067446141992fa1bfa2f1ca720197fc}{gfasttm}(g, et, e)
\item 
\#define \hyperlink{ltm_8h_0a29ed88450f8f92330a6a411a9c8134}{fasttm}(l, et, e)~gfasttm(G(l), et, e)
\end{CompactItemize}
\subsection*{Enumerations}
\begin{CompactItemize}
\item 
enum \hyperlink{ltm_8h_69e345ae253d250b61a03f1d6871c8d1}{TMS} \{ \par
\hyperlink{ltm_8h_69e345ae253d250b61a03f1d6871c8d19adb5d2c8bad970dff73ee1b9df1242e}{TM\_\-INDEX}, 
\hyperlink{ltm_8h_69e345ae253d250b61a03f1d6871c8d1256e00a44fb438064c2eb7a8b7df206d}{TM\_\-NEWINDEX}, 
\hyperlink{ltm_8h_69e345ae253d250b61a03f1d6871c8d101e1b0be5e2785471e19db3665960536}{TM\_\-GC}, 
\hyperlink{ltm_8h_69e345ae253d250b61a03f1d6871c8d15cd07c76b9aff7450d8052363ff2db4e}{TM\_\-MODE}, 
\par
\hyperlink{ltm_8h_69e345ae253d250b61a03f1d6871c8d1a0074eac874e7e19d5e7c0c8a22ea592}{TM\_\-EQ}, 
\hyperlink{ltm_8h_69e345ae253d250b61a03f1d6871c8d1b9351e0ba5143d069dfb4dea793676b5}{TM\_\-ADD}, 
\hyperlink{ltm_8h_69e345ae253d250b61a03f1d6871c8d1ae0e4c65a5c4797c1dbb82609504f0f6}{TM\_\-SUB}, 
\hyperlink{ltm_8h_69e345ae253d250b61a03f1d6871c8d16291d50fca67ff97d7092975c2ab2dc4}{TM\_\-MUL}, 
\par
\hyperlink{ltm_8h_69e345ae253d250b61a03f1d6871c8d1a5bfa1609bcf15e4105b991a7975ac03}{TM\_\-DIV}, 
\hyperlink{ltm_8h_69e345ae253d250b61a03f1d6871c8d1fbd50be6cf5042cdf520fb50627081ae}{TM\_\-MOD}, 
\hyperlink{ltm_8h_69e345ae253d250b61a03f1d6871c8d1a4846ab09831f6b351671be81cef3e5d}{TM\_\-POW}, 
\hyperlink{ltm_8h_69e345ae253d250b61a03f1d6871c8d19ba35e1d71b4d8aca322d84a070528dd}{TM\_\-UNM}, 
\par
\hyperlink{ltm_8h_69e345ae253d250b61a03f1d6871c8d1adbac1e8e363dc76eb94aac5c8e7a7a4}{TM\_\-LEN}, 
\hyperlink{ltm_8h_69e345ae253d250b61a03f1d6871c8d1fa8fa71435d77125e294751a6ec36dc0}{TM\_\-LT}, 
\hyperlink{ltm_8h_69e345ae253d250b61a03f1d6871c8d1cb92c94037b451f214223a4c57eccbdf}{TM\_\-LE}, 
\hyperlink{ltm_8h_69e345ae253d250b61a03f1d6871c8d1ef8c5f56efb01cf7a514270559237343}{TM\_\-CONCAT}, 
\par
\hyperlink{ltm_8h_69e345ae253d250b61a03f1d6871c8d1bdcb5cf63c297351b7dbd68b16b0c22b}{TM\_\-CALL}, 
\hyperlink{ltm_8h_69e345ae253d250b61a03f1d6871c8d10d06a30ffbc1d1f7e21a96f52da3ef56}{TM\_\-N}
 \}
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
LUAI\_\-FUNC const \hyperlink{structlua__TValue}{TValue} $\ast$ \hyperlink{ltm_8h_161791309c5c4c2011be595a751d0252}{luaT\_\-gettm} (\hyperlink{structTable}{Table} $\ast$events, \hyperlink{ltm_8h_69e345ae253d250b61a03f1d6871c8d1}{TMS} event, \hyperlink{unionTString}{TString} $\ast$ename)
\item 
LUAI\_\-FUNC const \hyperlink{structlua__TValue}{TValue} $\ast$ \hyperlink{ltm_8h_838fb2244ed83c7e793d45b6bd06ac73}{luaT\_\-gettmbyobj} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, const \hyperlink{structlua__TValue}{TValue} $\ast$o, \hyperlink{ltm_8h_69e345ae253d250b61a03f1d6871c8d1}{TMS} event)
\item 
LUAI\_\-FUNC void \hyperlink{ltm_8h_dadf25053747df0beeec91a8836b2dfc}{luaT\_\-init} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
LUAI\_\-DATA const char $\ast$const \hyperlink{ltm_8h_33bbbfb57338fde631c7f5e23fb96713}{luaT\_\-typenames} \mbox{[}$\,$\mbox{]}
\end{CompactItemize}


\subsection{Define Documentation}
\hypertarget{ltm_8h_0a29ed88450f8f92330a6a411a9c8134}{
\index{ltm.h@{ltm.h}!fasttm@{fasttm}}
\index{fasttm@{fasttm}!ltm.h@{ltm.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define fasttm(l, \/  et, \/  e)~gfasttm(G(l), et, e)}}
\label{ltm_8h_0a29ed88450f8f92330a6a411a9c8134}


\hypertarget{ltm_8h_b067446141992fa1bfa2f1ca720197fc}{
\index{ltm.h@{ltm.h}!gfasttm@{gfasttm}}
\index{gfasttm@{gfasttm}!ltm.h@{ltm.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define gfasttm(g, \/  et, \/  e)}}
\label{ltm_8h_b067446141992fa1bfa2f1ca720197fc}


\textbf{Value:}

\begin{Code}\begin{verbatim}((et) == NULL ? NULL : \
  ((et)->flags & (1u<<(e))) ? NULL : luaT_gettm(et, e, (g)->tmname[e]))
\end{verbatim}
\end{Code}


\subsection{Enumeration Type Documentation}
\hypertarget{ltm_8h_69e345ae253d250b61a03f1d6871c8d1}{
\index{ltm.h@{ltm.h}!TMS@{TMS}}
\index{TMS@{TMS}!ltm.h@{ltm.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum {\bf TMS}}}
\label{ltm_8h_69e345ae253d250b61a03f1d6871c8d1}


\begin{Desc}
\item[Enumerator: ]\par
\begin{description}
\index{TM\_\-INDEX@{TM\_\-INDEX}!ltm.h@{ltm.h}}\index{ltm.h@{ltm.h}!TM\_\-INDEX@{TM\_\-INDEX}}\item[{\em 
\hypertarget{ltm_8h_69e345ae253d250b61a03f1d6871c8d19adb5d2c8bad970dff73ee1b9df1242e}{
TM\_\-INDEX}
\label{ltm_8h_69e345ae253d250b61a03f1d6871c8d19adb5d2c8bad970dff73ee1b9df1242e}
}]\index{TM\_\-NEWINDEX@{TM\_\-NEWINDEX}!ltm.h@{ltm.h}}\index{ltm.h@{ltm.h}!TM\_\-NEWINDEX@{TM\_\-NEWINDEX}}\item[{\em 
\hypertarget{ltm_8h_69e345ae253d250b61a03f1d6871c8d1256e00a44fb438064c2eb7a8b7df206d}{
TM\_\-NEWINDEX}
\label{ltm_8h_69e345ae253d250b61a03f1d6871c8d1256e00a44fb438064c2eb7a8b7df206d}
}]\index{TM\_\-GC@{TM\_\-GC}!ltm.h@{ltm.h}}\index{ltm.h@{ltm.h}!TM\_\-GC@{TM\_\-GC}}\item[{\em 
\hypertarget{ltm_8h_69e345ae253d250b61a03f1d6871c8d101e1b0be5e2785471e19db3665960536}{
TM\_\-GC}
\label{ltm_8h_69e345ae253d250b61a03f1d6871c8d101e1b0be5e2785471e19db3665960536}
}]\index{TM\_\-MODE@{TM\_\-MODE}!ltm.h@{ltm.h}}\index{ltm.h@{ltm.h}!TM\_\-MODE@{TM\_\-MODE}}\item[{\em 
\hypertarget{ltm_8h_69e345ae253d250b61a03f1d6871c8d15cd07c76b9aff7450d8052363ff2db4e}{
TM\_\-MODE}
\label{ltm_8h_69e345ae253d250b61a03f1d6871c8d15cd07c76b9aff7450d8052363ff2db4e}
}]\index{TM\_\-EQ@{TM\_\-EQ}!ltm.h@{ltm.h}}\index{ltm.h@{ltm.h}!TM\_\-EQ@{TM\_\-EQ}}\item[{\em 
\hypertarget{ltm_8h_69e345ae253d250b61a03f1d6871c8d1a0074eac874e7e19d5e7c0c8a22ea592}{
TM\_\-EQ}
\label{ltm_8h_69e345ae253d250b61a03f1d6871c8d1a0074eac874e7e19d5e7c0c8a22ea592}
}]\index{TM\_\-ADD@{TM\_\-ADD}!ltm.h@{ltm.h}}\index{ltm.h@{ltm.h}!TM\_\-ADD@{TM\_\-ADD}}\item[{\em 
\hypertarget{ltm_8h_69e345ae253d250b61a03f1d6871c8d1b9351e0ba5143d069dfb4dea793676b5}{
TM\_\-ADD}
\label{ltm_8h_69e345ae253d250b61a03f1d6871c8d1b9351e0ba5143d069dfb4dea793676b5}
}]\index{TM\_\-SUB@{TM\_\-SUB}!ltm.h@{ltm.h}}\index{ltm.h@{ltm.h}!TM\_\-SUB@{TM\_\-SUB}}\item[{\em 
\hypertarget{ltm_8h_69e345ae253d250b61a03f1d6871c8d1ae0e4c65a5c4797c1dbb82609504f0f6}{
TM\_\-SUB}
\label{ltm_8h_69e345ae253d250b61a03f1d6871c8d1ae0e4c65a5c4797c1dbb82609504f0f6}
}]\index{TM\_\-MUL@{TM\_\-MUL}!ltm.h@{ltm.h}}\index{ltm.h@{ltm.h}!TM\_\-MUL@{TM\_\-MUL}}\item[{\em 
\hypertarget{ltm_8h_69e345ae253d250b61a03f1d6871c8d16291d50fca67ff97d7092975c2ab2dc4}{
TM\_\-MUL}
\label{ltm_8h_69e345ae253d250b61a03f1d6871c8d16291d50fca67ff97d7092975c2ab2dc4}
}]\index{TM\_\-DIV@{TM\_\-DIV}!ltm.h@{ltm.h}}\index{ltm.h@{ltm.h}!TM\_\-DIV@{TM\_\-DIV}}\item[{\em 
\hypertarget{ltm_8h_69e345ae253d250b61a03f1d6871c8d1a5bfa1609bcf15e4105b991a7975ac03}{
TM\_\-DIV}
\label{ltm_8h_69e345ae253d250b61a03f1d6871c8d1a5bfa1609bcf15e4105b991a7975ac03}
}]\index{TM\_\-MOD@{TM\_\-MOD}!ltm.h@{ltm.h}}\index{ltm.h@{ltm.h}!TM\_\-MOD@{TM\_\-MOD}}\item[{\em 
\hypertarget{ltm_8h_69e345ae253d250b61a03f1d6871c8d1fbd50be6cf5042cdf520fb50627081ae}{
TM\_\-MOD}
\label{ltm_8h_69e345ae253d250b61a03f1d6871c8d1fbd50be6cf5042cdf520fb50627081ae}
}]\index{TM\_\-POW@{TM\_\-POW}!ltm.h@{ltm.h}}\index{ltm.h@{ltm.h}!TM\_\-POW@{TM\_\-POW}}\item[{\em 
\hypertarget{ltm_8h_69e345ae253d250b61a03f1d6871c8d1a4846ab09831f6b351671be81cef3e5d}{
TM\_\-POW}
\label{ltm_8h_69e345ae253d250b61a03f1d6871c8d1a4846ab09831f6b351671be81cef3e5d}
}]\index{TM\_\-UNM@{TM\_\-UNM}!ltm.h@{ltm.h}}\index{ltm.h@{ltm.h}!TM\_\-UNM@{TM\_\-UNM}}\item[{\em 
\hypertarget{ltm_8h_69e345ae253d250b61a03f1d6871c8d19ba35e1d71b4d8aca322d84a070528dd}{
TM\_\-UNM}
\label{ltm_8h_69e345ae253d250b61a03f1d6871c8d19ba35e1d71b4d8aca322d84a070528dd}
}]\index{TM\_\-LEN@{TM\_\-LEN}!ltm.h@{ltm.h}}\index{ltm.h@{ltm.h}!TM\_\-LEN@{TM\_\-LEN}}\item[{\em 
\hypertarget{ltm_8h_69e345ae253d250b61a03f1d6871c8d1adbac1e8e363dc76eb94aac5c8e7a7a4}{
TM\_\-LEN}
\label{ltm_8h_69e345ae253d250b61a03f1d6871c8d1adbac1e8e363dc76eb94aac5c8e7a7a4}
}]\index{TM\_\-LT@{TM\_\-LT}!ltm.h@{ltm.h}}\index{ltm.h@{ltm.h}!TM\_\-LT@{TM\_\-LT}}\item[{\em 
\hypertarget{ltm_8h_69e345ae253d250b61a03f1d6871c8d1fa8fa71435d77125e294751a6ec36dc0}{
TM\_\-LT}
\label{ltm_8h_69e345ae253d250b61a03f1d6871c8d1fa8fa71435d77125e294751a6ec36dc0}
}]\index{TM\_\-LE@{TM\_\-LE}!ltm.h@{ltm.h}}\index{ltm.h@{ltm.h}!TM\_\-LE@{TM\_\-LE}}\item[{\em 
\hypertarget{ltm_8h_69e345ae253d250b61a03f1d6871c8d1cb92c94037b451f214223a4c57eccbdf}{
TM\_\-LE}
\label{ltm_8h_69e345ae253d250b61a03f1d6871c8d1cb92c94037b451f214223a4c57eccbdf}
}]\index{TM\_\-CONCAT@{TM\_\-CONCAT}!ltm.h@{ltm.h}}\index{ltm.h@{ltm.h}!TM\_\-CONCAT@{TM\_\-CONCAT}}\item[{\em 
\hypertarget{ltm_8h_69e345ae253d250b61a03f1d6871c8d1ef8c5f56efb01cf7a514270559237343}{
TM\_\-CONCAT}
\label{ltm_8h_69e345ae253d250b61a03f1d6871c8d1ef8c5f56efb01cf7a514270559237343}
}]\index{TM\_\-CALL@{TM\_\-CALL}!ltm.h@{ltm.h}}\index{ltm.h@{ltm.h}!TM\_\-CALL@{TM\_\-CALL}}\item[{\em 
\hypertarget{ltm_8h_69e345ae253d250b61a03f1d6871c8d1bdcb5cf63c297351b7dbd68b16b0c22b}{
TM\_\-CALL}
\label{ltm_8h_69e345ae253d250b61a03f1d6871c8d1bdcb5cf63c297351b7dbd68b16b0c22b}
}]\index{TM\_\-N@{TM\_\-N}!ltm.h@{ltm.h}}\index{ltm.h@{ltm.h}!TM\_\-N@{TM\_\-N}}\item[{\em 
\hypertarget{ltm_8h_69e345ae253d250b61a03f1d6871c8d10d06a30ffbc1d1f7e21a96f52da3ef56}{
TM\_\-N}
\label{ltm_8h_69e345ae253d250b61a03f1d6871c8d10d06a30ffbc1d1f7e21a96f52da3ef56}
}]\end{description}
\end{Desc}



\subsection{Function Documentation}
\hypertarget{ltm_8h_161791309c5c4c2011be595a751d0252}{
\index{ltm.h@{ltm.h}!luaT\_\-gettm@{luaT\_\-gettm}}
\index{luaT\_\-gettm@{luaT\_\-gettm}!ltm.h@{ltm.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUAI\_\-FUNC const {\bf TValue}$\ast$ luaT\_\-gettm ({\bf Table} $\ast$ {\em events}, \/  {\bf TMS} {\em event}, \/  {\bf TString} $\ast$ {\em ename})}}
\label{ltm_8h_161791309c5c4c2011be595a751d0252}


\hypertarget{ltm_8h_838fb2244ed83c7e793d45b6bd06ac73}{
\index{ltm.h@{ltm.h}!luaT\_\-gettmbyobj@{luaT\_\-gettmbyobj}}
\index{luaT\_\-gettmbyobj@{luaT\_\-gettmbyobj}!ltm.h@{ltm.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUAI\_\-FUNC const {\bf TValue}$\ast$ luaT\_\-gettmbyobj ({\bf lua\_\-State} $\ast$ {\em L}, \/  const {\bf TValue} $\ast$ {\em o}, \/  {\bf TMS} {\em event})}}
\label{ltm_8h_838fb2244ed83c7e793d45b6bd06ac73}


\hypertarget{ltm_8h_dadf25053747df0beeec91a8836b2dfc}{
\index{ltm.h@{ltm.h}!luaT\_\-init@{luaT\_\-init}}
\index{luaT\_\-init@{luaT\_\-init}!ltm.h@{ltm.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUAI\_\-FUNC void luaT\_\-init ({\bf lua\_\-State} $\ast$ {\em L})}}
\label{ltm_8h_dadf25053747df0beeec91a8836b2dfc}




\subsection{Variable Documentation}
\hypertarget{ltm_8h_33bbbfb57338fde631c7f5e23fb96713}{
\index{ltm.h@{ltm.h}!luaT\_\-typenames@{luaT\_\-typenames}}
\index{luaT\_\-typenames@{luaT\_\-typenames}!ltm.h@{ltm.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUAI\_\-DATA const char$\ast$ const {\bf luaT\_\-typenames}\mbox{[}$\,$\mbox{]}}}
\label{ltm_8h_33bbbfb57338fde631c7f5e23fb96713}


