\hypertarget{lapi_8c}{
\section{lapi.c File Reference}
\label{lapi_8c}\index{lapi.c@{lapi.c}}
}
{\tt \#include $<$assert.h$>$}\par
{\tt \#include $<$math.h$>$}\par
{\tt \#include $<$stdarg.h$>$}\par
{\tt \#include $<$string.h$>$}\par
{\tt \#include \char`\"{}lua.h\char`\"{}}\par
{\tt \#include \char`\"{}lapi.h\char`\"{}}\par
{\tt \#include \char`\"{}ldebug.h\char`\"{}}\par
{\tt \#include \char`\"{}ldo.h\char`\"{}}\par
{\tt \#include \char`\"{}lfunc.h\char`\"{}}\par
{\tt \#include \char`\"{}lgc.h\char`\"{}}\par
{\tt \#include \char`\"{}lmem.h\char`\"{}}\par
{\tt \#include \char`\"{}lobject.h\char`\"{}}\par
{\tt \#include \char`\"{}lstate.h\char`\"{}}\par
{\tt \#include \char`\"{}lstring.h\char`\"{}}\par
{\tt \#include \char`\"{}ltable.h\char`\"{}}\par
{\tt \#include \char`\"{}ltm.h\char`\"{}}\par
{\tt \#include \char`\"{}lundump.h\char`\"{}}\par
{\tt \#include \char`\"{}lvm.h\char`\"{}}\par
\subsection*{Classes}
\begin{CompactItemize}
\item 
struct \hyperlink{structCallS}{CallS}
\item 
struct \hyperlink{structCCallS}{CCallS}
\end{CompactItemize}
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define \hyperlink{lapi_8c_6f4862161259fd87002d41735b0ccfa8}{lapi\_\-c}
\item 
\#define \hyperlink{lapi_8c_bf0b3947b59218777a8e928a10be205b}{LUA\_\-CORE}
\item 
\#define \hyperlink{lapi_8c_9785915283c3f0a0ec90f1b6be32b2c2}{api\_\-checknelems}(\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, n)~api\_\-check(\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, (n) $<$= (\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L} $\rightarrow$ top - \hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L} $\rightarrow$ base))
\item 
\#define \hyperlink{lapi_8c_29c1133faa3c6591f82b5cca34842d67}{api\_\-checkvalidindex}(\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, i)~api\_\-check(\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, (i) != luaO\_\-nilobject)
\item 
\#define \hyperlink{lapi_8c_fe4a5994dd3704ec53de77f9fd121915}{api\_\-incr\_\-top}(\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})~\{api\_\-check(\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L} $\rightarrow$ top $<$ \hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L} $\rightarrow$ ci $\rightarrow$ top); \hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L} $\rightarrow$ top++;\}
\item 
\#define \hyperlink{lapi_8c_fd1f4a36958642707b7598a48c507599}{adjustresults}(\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, nres)~\{ if (nres == LUA\_\-MULTRET \&\& \hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L} $\rightarrow$ top $>$= \hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L} $\rightarrow$ ci $\rightarrow$ top) \hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L} $\rightarrow$ ci $\rightarrow$ top = \hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L} $\rightarrow$ top; \}
\item 
\#define \hyperlink{lapi_8c_6b76ec051caca9db7e44638873044e98}{checkresults}(\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, na, nr)~api\_\-check(\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, (nr) == LUA\_\-MULTRET $|$$|$ (\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L} $\rightarrow$ ci $\rightarrow$ top - \hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L} $\rightarrow$ top $>$= (nr) - (na)))
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
static \hyperlink{structlua__TValue}{TValue} $\ast$ \hyperlink{lapi_8c_9e10181d58be6c7783928bd322a3fb1b}{index2adr} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
static \hyperlink{structTable}{Table} $\ast$ \hyperlink{lapi_8c_95a3021abc491c31183d30fcb175035e}{getcurrenv} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
void \hyperlink{lapi_8c_7a20f9a76303e8dda4ecd7adc05917a7}{luaA\_\-pushobject} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, const \hyperlink{structlua__TValue}{TValue} $\ast$o)
\item 
LUA\_\-API int \hyperlink{lapi_8c_cea2383413b1e10bee681b109bad5b59}{lua\_\-checkstack} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int size)
\item 
LUA\_\-API void \hyperlink{lapi_8c_e27bb8d0218710bbbfefc1f573839d6d}{lua\_\-xmove} (\hyperlink{structlua__State}{lua\_\-State} $\ast$from, \hyperlink{structlua__State}{lua\_\-State} $\ast$to, int n)
\item 
LUA\_\-API void \hyperlink{lapi_8c_23ba67a2597f1bce7e408f44ff5bc4f4}{lua\_\-setlevel} (\hyperlink{structlua__State}{lua\_\-State} $\ast$from, \hyperlink{structlua__State}{lua\_\-State} $\ast$to)
\item 
LUA\_\-API \hyperlink{lua_8h_5f5bedea265eccf43c6e404e020988ce}{lua\_\-CFunction} \hyperlink{lapi_8c_90bf785da77985164dbe2eb0d64bf82e}{lua\_\-atpanic} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{lua_8h_5f5bedea265eccf43c6e404e020988ce}{lua\_\-CFunction} panicf)
\item 
LUA\_\-API \hyperlink{structlua__State}{lua\_\-State} $\ast$ \hyperlink{lapi_8c_86b660d6f2b69734c35ec9fc718e4ca9}{lua\_\-newthread} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
LUA\_\-API int \hyperlink{lapi_8c_fbb08ecb69421875494105d4de68e5bf}{lua\_\-gettop} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
LUA\_\-API void \hyperlink{lapi_8c_daa30f0d34786144c94644039d1d1b6e}{lua\_\-settop} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API void \hyperlink{lapi_8c_7f2ac31d9ad6f0e0ff068d2fbbd08714}{lua\_\-remove} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API void \hyperlink{lapi_8c_ba6844115e26e0923488403436219e66}{lua\_\-insert} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API void \hyperlink{lapi_8c_66d3827120ac828f870502bff0d4ff75}{lua\_\-replace} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API void \hyperlink{lapi_8c_602f61a9b583d69dc1c72c8970bd65e8}{lua\_\-pushvalue} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API int \hyperlink{lapi_8c_652b273947f0656686f998d8e90cd3ea}{lua\_\-type} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API const char $\ast$ \hyperlink{lapi_8c_7d64f87addab440bbda96bb088816e17}{lua\_\-typename} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int t)
\item 
LUA\_\-API int \hyperlink{lapi_8c_3b922032c9fe2930399186a3647cc3ad}{lua\_\-iscfunction} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API int \hyperlink{lapi_8c_99451f234bf085c9c46c3d17a5aef905}{lua\_\-isnumber} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API int \hyperlink{lapi_8c_9f20233199a414b04c1c4b43f5d040f3}{lua\_\-isstring} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API int \hyperlink{lapi_8c_a8a1dab86cfb4e0f9a4d1f699af0041b}{lua\_\-isuserdata} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API int \hyperlink{lapi_8c_ce66ea78ced7fda0b367f45d09d10d83}{lua\_\-rawequal} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int index1, int index2)
\item 
LUA\_\-API int \hyperlink{lapi_8c_e9280336584359894597220e5691bbce}{lua\_\-equal} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int index1, int index2)
\item 
LUA\_\-API int \hyperlink{lapi_8c_e2059ba2de707cb5657d1723aa23e752}{lua\_\-lessthan} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int index1, int index2)
\item 
LUA\_\-API \hyperlink{lua_8h_f0a6ed3b852d680769cfc410a0672172}{lua\_\-Number} \hyperlink{lapi_8c_42c1f68101dc98a6ae4695c8577b17f8}{lua\_\-tonumber} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API \hyperlink{lua_8h_362144baa0cfb14dc38fd21438053d73}{lua\_\-Integer} \hyperlink{lapi_8c_728c95a13635f48b0cea1addbf79c545}{lua\_\-tointeger} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API int \hyperlink{lapi_8c_444aee9aa56b0b06175ee3c7bcf7927c}{lua\_\-toboolean} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API const char $\ast$ \hyperlink{lapi_8c_3fc7dbcac3f2610f3d687ec15343bd3f}{lua\_\-tolstring} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx, size\_\-t $\ast$len)
\item 
LUA\_\-API size\_\-t \hyperlink{lapi_8c_a97a87dfaccc2e3b7861aaaca493db21}{lua\_\-objlen} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API \hyperlink{lua_8h_5f5bedea265eccf43c6e404e020988ce}{lua\_\-CFunction} \hyperlink{lapi_8c_e790897a3311d599299895612986d850}{lua\_\-tocfunction} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API void $\ast$ \hyperlink{lapi_8c_0444ddf13e5618bca969e4b3b47bc0cc}{lua\_\-touserdata} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API \hyperlink{structlua__State}{lua\_\-State} $\ast$ \hyperlink{lapi_8c_d1dcea410edb5c5595fc070f8bf2e9a0}{lua\_\-tothread} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API const void $\ast$ \hyperlink{lapi_8c_5b533fe96cb52b5415896d41daad374a}{lua\_\-topointer} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API void \hyperlink{lapi_8c_1b4cd0d80f51e5545a97ca6c28c03c50}{lua\_\-pushnil} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
LUA\_\-API void \hyperlink{lapi_8c_328625a03fbb5548f27b1af10f109f6a}{lua\_\-pushnumber} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{lua_8h_f0a6ed3b852d680769cfc410a0672172}{lua\_\-Number} n)
\item 
LUA\_\-API void \hyperlink{lapi_8c_dcec46ff05dfee9a3c4c05828b40c213}{lua\_\-pushinteger} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{lua_8h_362144baa0cfb14dc38fd21438053d73}{lua\_\-Integer} n)
\item 
LUA\_\-API void \hyperlink{lapi_8c_d457b6dc1bc1b6d5cf9b625c5b329e5e}{lua\_\-pushlstring} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, const char $\ast$s, size\_\-t len)
\item 
LUA\_\-API void \hyperlink{lapi_8c_1281a7e2b52370cc416123bfd32b1b29}{lua\_\-pushstring} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, const char $\ast$s)
\item 
LUA\_\-API const char $\ast$ \hyperlink{lapi_8c_426c9cb1d582be3e43060c4772854e5a}{lua\_\-pushvfstring} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, const char $\ast$fmt, va\_\-list argp)
\item 
LUA\_\-API const char $\ast$ \hyperlink{lapi_8c_b190c226d38b289e6ca57683a9d4e0f0}{lua\_\-pushfstring} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, const char $\ast$fmt,...)
\item 
LUA\_\-API void \hyperlink{lapi_8c_142802b91cdd22516b54599f51e101e4}{lua\_\-pushcclosure} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{lua_8h_5f5bedea265eccf43c6e404e020988ce}{lua\_\-CFunction} fn, int n)
\item 
LUA\_\-API void \hyperlink{lapi_8c_56bbb7479265e38da2e2596e6ec25faa}{lua\_\-pushboolean} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int b)
\item 
LUA\_\-API void \hyperlink{lapi_8c_85e3e3d32b068aef62426828a104b561}{lua\_\-pushlightuserdata} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, void $\ast$p)
\item 
LUA\_\-API int \hyperlink{lapi_8c_4175aeea9aa6dbf096ecfca7b190fa4a}{lua\_\-pushthread} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
LUA\_\-API void \hyperlink{lapi_8c_6c759e1dc54a07d99eac4f19a4cd142a}{lua\_\-gettable} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API void \hyperlink{lapi_8c_e459b7c273e6b1f60149b39f8e8f4554}{lua\_\-getfield} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx, const char $\ast$k)
\item 
LUA\_\-API void \hyperlink{lapi_8c_43379a0ba1fb68a4c81d205ad60b3cc1}{lua\_\-rawget} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API void \hyperlink{lapi_8c_e37bc3e2991700913a74d2b656442520}{lua\_\-rawgeti} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx, int n)
\item 
LUA\_\-API void \hyperlink{lapi_8c_7f93e3baf3101cad59ec61b7744a55d8}{lua\_\-createtable} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int narray, int nrec)
\item 
LUA\_\-API int \hyperlink{lapi_8c_4caa9ca5e47a30bd45e33d83bf2d6d6e}{lua\_\-getmetatable} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int objindex)
\item 
LUA\_\-API void \hyperlink{lapi_8c_ae62bb7fb4498cc5193abf66797b2246}{lua\_\-getfenv} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API void \hyperlink{lapi_8c_4ca492cf3d2194aec9a6292708bf66c8}{lua\_\-settable} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API void \hyperlink{lapi_8c_3f2f542ee6728d82e51b1c302f9606df}{lua\_\-setfield} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx, const char $\ast$k)
\item 
LUA\_\-API void \hyperlink{lapi_8c_fb2d27f421677ef40425f9054ae216a7}{lua\_\-rawset} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API void \hyperlink{lapi_8c_89eb1578890571d202f8b3c357c822bc}{lua\_\-rawseti} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx, int n)
\item 
LUA\_\-API int \hyperlink{lapi_8c_15719ea4119bdf5b3f2a406534431a7e}{lua\_\-setmetatable} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int objindex)
\item 
LUA\_\-API int \hyperlink{lapi_8c_f3a6383019df780016182fb8924f3127}{lua\_\-setfenv} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API void \hyperlink{lapi_8c_2d80481ca28902752c2b12c61d9d4234}{lua\_\-call} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int nargs, int nresults)
\item 
static void \hyperlink{lapi_8c_c3926c93fb08234f9f47e24653124910}{f\_\-call} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, void $\ast$ud)
\item 
LUA\_\-API int \hyperlink{lapi_8c_2a6cbad7f1c567378d17ded68b47f8f3}{lua\_\-pcall} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int nargs, int nresults, int errfunc)
\item 
static void \hyperlink{lapi_8c_837bb7cab1726297daea204c78fa9a2a}{f\_\-Ccall} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, void $\ast$ud)
\item 
LUA\_\-API int \hyperlink{lapi_8c_ff3c8f500cdceb1acdcd4cf4262aea86}{lua\_\-cpcall} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{lua_8h_5f5bedea265eccf43c6e404e020988ce}{lua\_\-CFunction} func, void $\ast$ud)
\item 
LUA\_\-API int \hyperlink{lapi_8c_7318e2aab856e8f690ef62571d8afa8b}{lua\_\-load} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{lua_8h_49bb2f99132c1ae9f80ce809cce40455}{lua\_\-Reader} reader, void $\ast$data, const char $\ast$chunkname)
\item 
LUA\_\-API int \hyperlink{lapi_8c_2460412f6cbb86ffc33169b8ce1718c6}{lua\_\-dump} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{lua_8h_739e0fce611e90942d1f15c302187e05}{lua\_\-Writer} writer, void $\ast$data)
\item 
LUA\_\-API int \hyperlink{lapi_8c_adea4b6f60174a1334ebde560968a615}{lua\_\-status} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
LUA\_\-API int \hyperlink{lapi_8c_f8ed2209505943e2eb581cb4e4e02b62}{lua\_\-gc} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int what, int data)
\item 
LUA\_\-API int \hyperlink{lapi_8c_6ba7b91143fe8a03910420d800de8e97}{lua\_\-error} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
LUA\_\-API int \hyperlink{lapi_8c_a8bf464b98335a075732200ad91ce1de}{lua\_\-next} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int idx)
\item 
LUA\_\-API void \hyperlink{lapi_8c_1de3afee1daece63d455f23818c883d9}{lua\_\-concat} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int n)
\item 
LUA\_\-API \hyperlink{lua_8h_1c6fb648cd80375673a99321e15fcc36}{lua\_\-Alloc} \hyperlink{lapi_8c_3dbff8747b32b799cf63603c46da06cc}{lua\_\-getallocf} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, void $\ast$$\ast$ud)
\item 
LUA\_\-API void \hyperlink{lapi_8c_c890276f9590df6a4d6aabdad9c558f0}{lua\_\-setallocf} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{lua_8h_1c6fb648cd80375673a99321e15fcc36}{lua\_\-Alloc} f, void $\ast$ud)
\item 
LUA\_\-API void $\ast$ \hyperlink{lapi_8c_467bb6f4780b27d6e7de6ee10a80dac5}{lua\_\-newuserdata} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, size\_\-t size)
\item 
static const char $\ast$ \hyperlink{lapi_8c_b605555ec9d2edee083a697f0401f1cf}{aux\_\-upvalue} (\hyperlink{structlua__TValue}{StkId} fi, int n, \hyperlink{structlua__TValue}{TValue} $\ast$$\ast$val)
\item 
LUA\_\-API const char $\ast$ \hyperlink{lapi_8c_fd5e7d6995dc52a5cb9e370ee3a710e6}{lua\_\-getupvalue} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int funcindex, int n)
\item 
LUA\_\-API const char $\ast$ \hyperlink{lapi_8c_6e2e5717e848fca56335a64739a8f2c0}{lua\_\-setupvalue} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int funcindex, int n)
\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
const char \hyperlink{lapi_8c_cbf4dc2e5f80547c7f54f41a179258b2}{lua\_\-ident} \mbox{[}$\,$\mbox{]}
\end{CompactItemize}


\subsection{Define Documentation}
\hypertarget{lapi_8c_fd1f4a36958642707b7598a48c507599}{
\index{lapi.c@{lapi.c}!adjustresults@{adjustresults}}
\index{adjustresults@{adjustresults}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define adjustresults({\bf L}, \/  nres)~\{ if (nres == LUA\_\-MULTRET \&\& {\bf L} $\rightarrow$ top $>$= {\bf L} $\rightarrow$ ci $\rightarrow$ top) {\bf L} $\rightarrow$ ci $\rightarrow$ top = {\bf L} $\rightarrow$ top; \}}}
\label{lapi_8c_fd1f4a36958642707b7598a48c507599}


\hypertarget{lapi_8c_9785915283c3f0a0ec90f1b6be32b2c2}{
\index{lapi.c@{lapi.c}!api\_\-checknelems@{api\_\-checknelems}}
\index{api\_\-checknelems@{api\_\-checknelems}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define api\_\-checknelems({\bf L}, \/  n)~api\_\-check({\bf L}, (n) $<$= ({\bf L} $\rightarrow$ top - {\bf L} $\rightarrow$ base))}}
\label{lapi_8c_9785915283c3f0a0ec90f1b6be32b2c2}


\hypertarget{lapi_8c_29c1133faa3c6591f82b5cca34842d67}{
\index{lapi.c@{lapi.c}!api\_\-checkvalidindex@{api\_\-checkvalidindex}}
\index{api\_\-checkvalidindex@{api\_\-checkvalidindex}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define api\_\-checkvalidindex({\bf L}, \/  i)~api\_\-check({\bf L}, (i) != luaO\_\-nilobject)}}
\label{lapi_8c_29c1133faa3c6591f82b5cca34842d67}


\hypertarget{lapi_8c_fe4a5994dd3704ec53de77f9fd121915}{
\index{lapi.c@{lapi.c}!api\_\-incr\_\-top@{api\_\-incr\_\-top}}
\index{api\_\-incr\_\-top@{api\_\-incr\_\-top}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define api\_\-incr\_\-top({\bf L})~\{api\_\-check({\bf L}, {\bf L} $\rightarrow$ top $<$ {\bf L} $\rightarrow$ ci $\rightarrow$ top); {\bf L} $\rightarrow$ top++;\}}}
\label{lapi_8c_fe4a5994dd3704ec53de77f9fd121915}


\hypertarget{lapi_8c_6b76ec051caca9db7e44638873044e98}{
\index{lapi.c@{lapi.c}!checkresults@{checkresults}}
\index{checkresults@{checkresults}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define checkresults({\bf L}, \/  na, \/  nr)~api\_\-check({\bf L}, (nr) == LUA\_\-MULTRET $|$$|$ ({\bf L} $\rightarrow$ ci $\rightarrow$ top - {\bf L} $\rightarrow$ top $>$= (nr) - (na)))}}
\label{lapi_8c_6b76ec051caca9db7e44638873044e98}


\hypertarget{lapi_8c_6f4862161259fd87002d41735b0ccfa8}{
\index{lapi.c@{lapi.c}!lapi\_\-c@{lapi\_\-c}}
\index{lapi\_\-c@{lapi\_\-c}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define lapi\_\-c}}
\label{lapi_8c_6f4862161259fd87002d41735b0ccfa8}


\hypertarget{lapi_8c_bf0b3947b59218777a8e928a10be205b}{
\index{lapi.c@{lapi.c}!LUA\_\-CORE@{LUA\_\-CORE}}
\index{LUA\_\-CORE@{LUA\_\-CORE}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LUA\_\-CORE}}
\label{lapi_8c_bf0b3947b59218777a8e928a10be205b}




\subsection{Function Documentation}
\hypertarget{lapi_8c_b605555ec9d2edee083a697f0401f1cf}{
\index{lapi.c@{lapi.c}!aux\_\-upvalue@{aux\_\-upvalue}}
\index{aux\_\-upvalue@{aux\_\-upvalue}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static const char$\ast$ aux\_\-upvalue ({\bf StkId} {\em fi}, \/  int {\em n}, \/  {\bf TValue} $\ast$$\ast$ {\em val})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{lapi_8c_b605555ec9d2edee083a697f0401f1cf}


\hypertarget{lapi_8c_c3926c93fb08234f9f47e24653124910}{
\index{lapi.c@{lapi.c}!f\_\-call@{f\_\-call}}
\index{f\_\-call@{f\_\-call}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void f\_\-call ({\bf lua\_\-State} $\ast$ {\em L}, \/  void $\ast$ {\em ud})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{lapi_8c_c3926c93fb08234f9f47e24653124910}


\hypertarget{lapi_8c_837bb7cab1726297daea204c78fa9a2a}{
\index{lapi.c@{lapi.c}!f\_\-Ccall@{f\_\-Ccall}}
\index{f\_\-Ccall@{f\_\-Ccall}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void f\_\-Ccall ({\bf lua\_\-State} $\ast$ {\em L}, \/  void $\ast$ {\em ud})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{lapi_8c_837bb7cab1726297daea204c78fa9a2a}


\hypertarget{lapi_8c_95a3021abc491c31183d30fcb175035e}{
\index{lapi.c@{lapi.c}!getcurrenv@{getcurrenv}}
\index{getcurrenv@{getcurrenv}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static {\bf Table}$\ast$ getcurrenv ({\bf lua\_\-State} $\ast$ {\em L})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{lapi_8c_95a3021abc491c31183d30fcb175035e}


\hypertarget{lapi_8c_9e10181d58be6c7783928bd322a3fb1b}{
\index{lapi.c@{lapi.c}!index2adr@{index2adr}}
\index{index2adr@{index2adr}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static {\bf TValue}$\ast$ index2adr ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{lapi_8c_9e10181d58be6c7783928bd322a3fb1b}


\hypertarget{lapi_8c_90bf785da77985164dbe2eb0d64bf82e}{
\index{lapi.c@{lapi.c}!lua\_\-atpanic@{lua\_\-atpanic}}
\index{lua\_\-atpanic@{lua\_\-atpanic}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API {\bf lua\_\-CFunction} lua\_\-atpanic ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf lua\_\-CFunction} {\em panicf})}}
\label{lapi_8c_90bf785da77985164dbe2eb0d64bf82e}


\hypertarget{lapi_8c_2d80481ca28902752c2b12c61d9d4234}{
\index{lapi.c@{lapi.c}!lua\_\-call@{lua\_\-call}}
\index{lua\_\-call@{lua\_\-call}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-call ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em nargs}, \/  int {\em nresults})}}
\label{lapi_8c_2d80481ca28902752c2b12c61d9d4234}


\hypertarget{lapi_8c_cea2383413b1e10bee681b109bad5b59}{
\index{lapi.c@{lapi.c}!lua\_\-checkstack@{lua\_\-checkstack}}
\index{lua\_\-checkstack@{lua\_\-checkstack}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-checkstack ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em size})}}
\label{lapi_8c_cea2383413b1e10bee681b109bad5b59}


\hypertarget{lapi_8c_1de3afee1daece63d455f23818c883d9}{
\index{lapi.c@{lapi.c}!lua\_\-concat@{lua\_\-concat}}
\index{lua\_\-concat@{lua\_\-concat}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-concat ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em n})}}
\label{lapi_8c_1de3afee1daece63d455f23818c883d9}


\hypertarget{lapi_8c_ff3c8f500cdceb1acdcd4cf4262aea86}{
\index{lapi.c@{lapi.c}!lua\_\-cpcall@{lua\_\-cpcall}}
\index{lua\_\-cpcall@{lua\_\-cpcall}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-cpcall ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf lua\_\-CFunction} {\em func}, \/  void $\ast$ {\em ud})}}
\label{lapi_8c_ff3c8f500cdceb1acdcd4cf4262aea86}


\hypertarget{lapi_8c_7f93e3baf3101cad59ec61b7744a55d8}{
\index{lapi.c@{lapi.c}!lua\_\-createtable@{lua\_\-createtable}}
\index{lua\_\-createtable@{lua\_\-createtable}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-createtable ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em narray}, \/  int {\em nrec})}}
\label{lapi_8c_7f93e3baf3101cad59ec61b7744a55d8}


\hypertarget{lapi_8c_2460412f6cbb86ffc33169b8ce1718c6}{
\index{lapi.c@{lapi.c}!lua\_\-dump@{lua\_\-dump}}
\index{lua\_\-dump@{lua\_\-dump}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-dump ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf lua\_\-Writer} {\em writer}, \/  void $\ast$ {\em data})}}
\label{lapi_8c_2460412f6cbb86ffc33169b8ce1718c6}


\hypertarget{lapi_8c_e9280336584359894597220e5691bbce}{
\index{lapi.c@{lapi.c}!lua\_\-equal@{lua\_\-equal}}
\index{lua\_\-equal@{lua\_\-equal}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-equal ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em index1}, \/  int {\em index2})}}
\label{lapi_8c_e9280336584359894597220e5691bbce}


\hypertarget{lapi_8c_6ba7b91143fe8a03910420d800de8e97}{
\index{lapi.c@{lapi.c}!lua\_\-error@{lua\_\-error}}
\index{lua\_\-error@{lua\_\-error}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-error ({\bf lua\_\-State} $\ast$ {\em L})}}
\label{lapi_8c_6ba7b91143fe8a03910420d800de8e97}


\hypertarget{lapi_8c_f8ed2209505943e2eb581cb4e4e02b62}{
\index{lapi.c@{lapi.c}!lua\_\-gc@{lua\_\-gc}}
\index{lua\_\-gc@{lua\_\-gc}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-gc ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em what}, \/  int {\em data})}}
\label{lapi_8c_f8ed2209505943e2eb581cb4e4e02b62}


\hypertarget{lapi_8c_3dbff8747b32b799cf63603c46da06cc}{
\index{lapi.c@{lapi.c}!lua\_\-getallocf@{lua\_\-getallocf}}
\index{lua\_\-getallocf@{lua\_\-getallocf}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API {\bf lua\_\-Alloc} lua\_\-getallocf ({\bf lua\_\-State} $\ast$ {\em L}, \/  void $\ast$$\ast$ {\em ud})}}
\label{lapi_8c_3dbff8747b32b799cf63603c46da06cc}


\hypertarget{lapi_8c_ae62bb7fb4498cc5193abf66797b2246}{
\index{lapi.c@{lapi.c}!lua\_\-getfenv@{lua\_\-getfenv}}
\index{lua\_\-getfenv@{lua\_\-getfenv}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-getfenv ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_ae62bb7fb4498cc5193abf66797b2246}


\hypertarget{lapi_8c_e459b7c273e6b1f60149b39f8e8f4554}{
\index{lapi.c@{lapi.c}!lua\_\-getfield@{lua\_\-getfield}}
\index{lua\_\-getfield@{lua\_\-getfield}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-getfield ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx}, \/  const char $\ast$ {\em k})}}
\label{lapi_8c_e459b7c273e6b1f60149b39f8e8f4554}


\hypertarget{lapi_8c_4caa9ca5e47a30bd45e33d83bf2d6d6e}{
\index{lapi.c@{lapi.c}!lua\_\-getmetatable@{lua\_\-getmetatable}}
\index{lua\_\-getmetatable@{lua\_\-getmetatable}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-getmetatable ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em objindex})}}
\label{lapi_8c_4caa9ca5e47a30bd45e33d83bf2d6d6e}


\hypertarget{lapi_8c_6c759e1dc54a07d99eac4f19a4cd142a}{
\index{lapi.c@{lapi.c}!lua\_\-gettable@{lua\_\-gettable}}
\index{lua\_\-gettable@{lua\_\-gettable}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-gettable ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_6c759e1dc54a07d99eac4f19a4cd142a}


\hypertarget{lapi_8c_fbb08ecb69421875494105d4de68e5bf}{
\index{lapi.c@{lapi.c}!lua\_\-gettop@{lua\_\-gettop}}
\index{lua\_\-gettop@{lua\_\-gettop}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-gettop ({\bf lua\_\-State} $\ast$ {\em L})}}
\label{lapi_8c_fbb08ecb69421875494105d4de68e5bf}


\hypertarget{lapi_8c_fd5e7d6995dc52a5cb9e370ee3a710e6}{
\index{lapi.c@{lapi.c}!lua\_\-getupvalue@{lua\_\-getupvalue}}
\index{lua\_\-getupvalue@{lua\_\-getupvalue}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API const char$\ast$ lua\_\-getupvalue ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em funcindex}, \/  int {\em n})}}
\label{lapi_8c_fd5e7d6995dc52a5cb9e370ee3a710e6}


\hypertarget{lapi_8c_ba6844115e26e0923488403436219e66}{
\index{lapi.c@{lapi.c}!lua\_\-insert@{lua\_\-insert}}
\index{lua\_\-insert@{lua\_\-insert}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-insert ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_ba6844115e26e0923488403436219e66}


\hypertarget{lapi_8c_3b922032c9fe2930399186a3647cc3ad}{
\index{lapi.c@{lapi.c}!lua\_\-iscfunction@{lua\_\-iscfunction}}
\index{lua\_\-iscfunction@{lua\_\-iscfunction}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-iscfunction ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_3b922032c9fe2930399186a3647cc3ad}


\hypertarget{lapi_8c_99451f234bf085c9c46c3d17a5aef905}{
\index{lapi.c@{lapi.c}!lua\_\-isnumber@{lua\_\-isnumber}}
\index{lua\_\-isnumber@{lua\_\-isnumber}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-isnumber ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_99451f234bf085c9c46c3d17a5aef905}


\hypertarget{lapi_8c_9f20233199a414b04c1c4b43f5d040f3}{
\index{lapi.c@{lapi.c}!lua\_\-isstring@{lua\_\-isstring}}
\index{lua\_\-isstring@{lua\_\-isstring}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-isstring ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_9f20233199a414b04c1c4b43f5d040f3}


\hypertarget{lapi_8c_a8a1dab86cfb4e0f9a4d1f699af0041b}{
\index{lapi.c@{lapi.c}!lua\_\-isuserdata@{lua\_\-isuserdata}}
\index{lua\_\-isuserdata@{lua\_\-isuserdata}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-isuserdata ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_a8a1dab86cfb4e0f9a4d1f699af0041b}


\hypertarget{lapi_8c_e2059ba2de707cb5657d1723aa23e752}{
\index{lapi.c@{lapi.c}!lua\_\-lessthan@{lua\_\-lessthan}}
\index{lua\_\-lessthan@{lua\_\-lessthan}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-lessthan ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em index1}, \/  int {\em index2})}}
\label{lapi_8c_e2059ba2de707cb5657d1723aa23e752}


\hypertarget{lapi_8c_7318e2aab856e8f690ef62571d8afa8b}{
\index{lapi.c@{lapi.c}!lua\_\-load@{lua\_\-load}}
\index{lua\_\-load@{lua\_\-load}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-load ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf lua\_\-Reader} {\em reader}, \/  void $\ast$ {\em data}, \/  const char $\ast$ {\em chunkname})}}
\label{lapi_8c_7318e2aab856e8f690ef62571d8afa8b}


\hypertarget{lapi_8c_86b660d6f2b69734c35ec9fc718e4ca9}{
\index{lapi.c@{lapi.c}!lua\_\-newthread@{lua\_\-newthread}}
\index{lua\_\-newthread@{lua\_\-newthread}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API {\bf lua\_\-State}$\ast$ lua\_\-newthread ({\bf lua\_\-State} $\ast$ {\em L})}}
\label{lapi_8c_86b660d6f2b69734c35ec9fc718e4ca9}


\hypertarget{lapi_8c_467bb6f4780b27d6e7de6ee10a80dac5}{
\index{lapi.c@{lapi.c}!lua\_\-newuserdata@{lua\_\-newuserdata}}
\index{lua\_\-newuserdata@{lua\_\-newuserdata}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void$\ast$ lua\_\-newuserdata ({\bf lua\_\-State} $\ast$ {\em L}, \/  size\_\-t {\em size})}}
\label{lapi_8c_467bb6f4780b27d6e7de6ee10a80dac5}


\hypertarget{lapi_8c_a8bf464b98335a075732200ad91ce1de}{
\index{lapi.c@{lapi.c}!lua\_\-next@{lua\_\-next}}
\index{lua\_\-next@{lua\_\-next}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-next ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_a8bf464b98335a075732200ad91ce1de}


\hypertarget{lapi_8c_a97a87dfaccc2e3b7861aaaca493db21}{
\index{lapi.c@{lapi.c}!lua\_\-objlen@{lua\_\-objlen}}
\index{lua\_\-objlen@{lua\_\-objlen}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API size\_\-t lua\_\-objlen ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_a97a87dfaccc2e3b7861aaaca493db21}


\hypertarget{lapi_8c_2a6cbad7f1c567378d17ded68b47f8f3}{
\index{lapi.c@{lapi.c}!lua\_\-pcall@{lua\_\-pcall}}
\index{lua\_\-pcall@{lua\_\-pcall}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-pcall ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em nargs}, \/  int {\em nresults}, \/  int {\em errfunc})}}
\label{lapi_8c_2a6cbad7f1c567378d17ded68b47f8f3}


\hypertarget{lapi_8c_56bbb7479265e38da2e2596e6ec25faa}{
\index{lapi.c@{lapi.c}!lua\_\-pushboolean@{lua\_\-pushboolean}}
\index{lua\_\-pushboolean@{lua\_\-pushboolean}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-pushboolean ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em b})}}
\label{lapi_8c_56bbb7479265e38da2e2596e6ec25faa}


\hypertarget{lapi_8c_142802b91cdd22516b54599f51e101e4}{
\index{lapi.c@{lapi.c}!lua\_\-pushcclosure@{lua\_\-pushcclosure}}
\index{lua\_\-pushcclosure@{lua\_\-pushcclosure}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-pushcclosure ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf lua\_\-CFunction} {\em fn}, \/  int {\em n})}}
\label{lapi_8c_142802b91cdd22516b54599f51e101e4}


\hypertarget{lapi_8c_b190c226d38b289e6ca57683a9d4e0f0}{
\index{lapi.c@{lapi.c}!lua\_\-pushfstring@{lua\_\-pushfstring}}
\index{lua\_\-pushfstring@{lua\_\-pushfstring}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API const char$\ast$ lua\_\-pushfstring ({\bf lua\_\-State} $\ast$ {\em L}, \/  const char $\ast$ {\em fmt}, \/   {\em ...})}}
\label{lapi_8c_b190c226d38b289e6ca57683a9d4e0f0}


\hypertarget{lapi_8c_dcec46ff05dfee9a3c4c05828b40c213}{
\index{lapi.c@{lapi.c}!lua\_\-pushinteger@{lua\_\-pushinteger}}
\index{lua\_\-pushinteger@{lua\_\-pushinteger}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-pushinteger ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf lua\_\-Integer} {\em n})}}
\label{lapi_8c_dcec46ff05dfee9a3c4c05828b40c213}


\hypertarget{lapi_8c_85e3e3d32b068aef62426828a104b561}{
\index{lapi.c@{lapi.c}!lua\_\-pushlightuserdata@{lua\_\-pushlightuserdata}}
\index{lua\_\-pushlightuserdata@{lua\_\-pushlightuserdata}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-pushlightuserdata ({\bf lua\_\-State} $\ast$ {\em L}, \/  void $\ast$ {\em p})}}
\label{lapi_8c_85e3e3d32b068aef62426828a104b561}


\hypertarget{lapi_8c_d457b6dc1bc1b6d5cf9b625c5b329e5e}{
\index{lapi.c@{lapi.c}!lua\_\-pushlstring@{lua\_\-pushlstring}}
\index{lua\_\-pushlstring@{lua\_\-pushlstring}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-pushlstring ({\bf lua\_\-State} $\ast$ {\em L}, \/  const char $\ast$ {\em s}, \/  size\_\-t {\em len})}}
\label{lapi_8c_d457b6dc1bc1b6d5cf9b625c5b329e5e}


\hypertarget{lapi_8c_1b4cd0d80f51e5545a97ca6c28c03c50}{
\index{lapi.c@{lapi.c}!lua\_\-pushnil@{lua\_\-pushnil}}
\index{lua\_\-pushnil@{lua\_\-pushnil}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-pushnil ({\bf lua\_\-State} $\ast$ {\em L})}}
\label{lapi_8c_1b4cd0d80f51e5545a97ca6c28c03c50}


\hypertarget{lapi_8c_328625a03fbb5548f27b1af10f109f6a}{
\index{lapi.c@{lapi.c}!lua\_\-pushnumber@{lua\_\-pushnumber}}
\index{lua\_\-pushnumber@{lua\_\-pushnumber}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-pushnumber ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf lua\_\-Number} {\em n})}}
\label{lapi_8c_328625a03fbb5548f27b1af10f109f6a}


\hypertarget{lapi_8c_1281a7e2b52370cc416123bfd32b1b29}{
\index{lapi.c@{lapi.c}!lua\_\-pushstring@{lua\_\-pushstring}}
\index{lua\_\-pushstring@{lua\_\-pushstring}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-pushstring ({\bf lua\_\-State} $\ast$ {\em L}, \/  const char $\ast$ {\em s})}}
\label{lapi_8c_1281a7e2b52370cc416123bfd32b1b29}


\hypertarget{lapi_8c_4175aeea9aa6dbf096ecfca7b190fa4a}{
\index{lapi.c@{lapi.c}!lua\_\-pushthread@{lua\_\-pushthread}}
\index{lua\_\-pushthread@{lua\_\-pushthread}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-pushthread ({\bf lua\_\-State} $\ast$ {\em L})}}
\label{lapi_8c_4175aeea9aa6dbf096ecfca7b190fa4a}


\hypertarget{lapi_8c_602f61a9b583d69dc1c72c8970bd65e8}{
\index{lapi.c@{lapi.c}!lua\_\-pushvalue@{lua\_\-pushvalue}}
\index{lua\_\-pushvalue@{lua\_\-pushvalue}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-pushvalue ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_602f61a9b583d69dc1c72c8970bd65e8}


\hypertarget{lapi_8c_426c9cb1d582be3e43060c4772854e5a}{
\index{lapi.c@{lapi.c}!lua\_\-pushvfstring@{lua\_\-pushvfstring}}
\index{lua\_\-pushvfstring@{lua\_\-pushvfstring}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API const char$\ast$ lua\_\-pushvfstring ({\bf lua\_\-State} $\ast$ {\em L}, \/  const char $\ast$ {\em fmt}, \/  va\_\-list {\em argp})}}
\label{lapi_8c_426c9cb1d582be3e43060c4772854e5a}


\hypertarget{lapi_8c_ce66ea78ced7fda0b367f45d09d10d83}{
\index{lapi.c@{lapi.c}!lua\_\-rawequal@{lua\_\-rawequal}}
\index{lua\_\-rawequal@{lua\_\-rawequal}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-rawequal ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em index1}, \/  int {\em index2})}}
\label{lapi_8c_ce66ea78ced7fda0b367f45d09d10d83}


\hypertarget{lapi_8c_43379a0ba1fb68a4c81d205ad60b3cc1}{
\index{lapi.c@{lapi.c}!lua\_\-rawget@{lua\_\-rawget}}
\index{lua\_\-rawget@{lua\_\-rawget}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-rawget ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_43379a0ba1fb68a4c81d205ad60b3cc1}


\hypertarget{lapi_8c_e37bc3e2991700913a74d2b656442520}{
\index{lapi.c@{lapi.c}!lua\_\-rawgeti@{lua\_\-rawgeti}}
\index{lua\_\-rawgeti@{lua\_\-rawgeti}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-rawgeti ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx}, \/  int {\em n})}}
\label{lapi_8c_e37bc3e2991700913a74d2b656442520}


\hypertarget{lapi_8c_fb2d27f421677ef40425f9054ae216a7}{
\index{lapi.c@{lapi.c}!lua\_\-rawset@{lua\_\-rawset}}
\index{lua\_\-rawset@{lua\_\-rawset}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-rawset ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_fb2d27f421677ef40425f9054ae216a7}


\hypertarget{lapi_8c_89eb1578890571d202f8b3c357c822bc}{
\index{lapi.c@{lapi.c}!lua\_\-rawseti@{lua\_\-rawseti}}
\index{lua\_\-rawseti@{lua\_\-rawseti}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-rawseti ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx}, \/  int {\em n})}}
\label{lapi_8c_89eb1578890571d202f8b3c357c822bc}


\hypertarget{lapi_8c_7f2ac31d9ad6f0e0ff068d2fbbd08714}{
\index{lapi.c@{lapi.c}!lua\_\-remove@{lua\_\-remove}}
\index{lua\_\-remove@{lua\_\-remove}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-remove ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_7f2ac31d9ad6f0e0ff068d2fbbd08714}


\hypertarget{lapi_8c_66d3827120ac828f870502bff0d4ff75}{
\index{lapi.c@{lapi.c}!lua\_\-replace@{lua\_\-replace}}
\index{lua\_\-replace@{lua\_\-replace}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-replace ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_66d3827120ac828f870502bff0d4ff75}


\hypertarget{lapi_8c_c890276f9590df6a4d6aabdad9c558f0}{
\index{lapi.c@{lapi.c}!lua\_\-setallocf@{lua\_\-setallocf}}
\index{lua\_\-setallocf@{lua\_\-setallocf}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-setallocf ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf lua\_\-Alloc} {\em f}, \/  void $\ast$ {\em ud})}}
\label{lapi_8c_c890276f9590df6a4d6aabdad9c558f0}


\hypertarget{lapi_8c_f3a6383019df780016182fb8924f3127}{
\index{lapi.c@{lapi.c}!lua\_\-setfenv@{lua\_\-setfenv}}
\index{lua\_\-setfenv@{lua\_\-setfenv}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-setfenv ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_f3a6383019df780016182fb8924f3127}


\hypertarget{lapi_8c_3f2f542ee6728d82e51b1c302f9606df}{
\index{lapi.c@{lapi.c}!lua\_\-setfield@{lua\_\-setfield}}
\index{lua\_\-setfield@{lua\_\-setfield}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-setfield ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx}, \/  const char $\ast$ {\em k})}}
\label{lapi_8c_3f2f542ee6728d82e51b1c302f9606df}


\hypertarget{lapi_8c_23ba67a2597f1bce7e408f44ff5bc4f4}{
\index{lapi.c@{lapi.c}!lua\_\-setlevel@{lua\_\-setlevel}}
\index{lua\_\-setlevel@{lua\_\-setlevel}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-setlevel ({\bf lua\_\-State} $\ast$ {\em from}, \/  {\bf lua\_\-State} $\ast$ {\em to})}}
\label{lapi_8c_23ba67a2597f1bce7e408f44ff5bc4f4}


\hypertarget{lapi_8c_15719ea4119bdf5b3f2a406534431a7e}{
\index{lapi.c@{lapi.c}!lua\_\-setmetatable@{lua\_\-setmetatable}}
\index{lua\_\-setmetatable@{lua\_\-setmetatable}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-setmetatable ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em objindex})}}
\label{lapi_8c_15719ea4119bdf5b3f2a406534431a7e}


\hypertarget{lapi_8c_4ca492cf3d2194aec9a6292708bf66c8}{
\index{lapi.c@{lapi.c}!lua\_\-settable@{lua\_\-settable}}
\index{lua\_\-settable@{lua\_\-settable}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-settable ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_4ca492cf3d2194aec9a6292708bf66c8}


\hypertarget{lapi_8c_daa30f0d34786144c94644039d1d1b6e}{
\index{lapi.c@{lapi.c}!lua\_\-settop@{lua\_\-settop}}
\index{lua\_\-settop@{lua\_\-settop}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-settop ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_daa30f0d34786144c94644039d1d1b6e}


\hypertarget{lapi_8c_6e2e5717e848fca56335a64739a8f2c0}{
\index{lapi.c@{lapi.c}!lua\_\-setupvalue@{lua\_\-setupvalue}}
\index{lua\_\-setupvalue@{lua\_\-setupvalue}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API const char$\ast$ lua\_\-setupvalue ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em funcindex}, \/  int {\em n})}}
\label{lapi_8c_6e2e5717e848fca56335a64739a8f2c0}


\hypertarget{lapi_8c_adea4b6f60174a1334ebde560968a615}{
\index{lapi.c@{lapi.c}!lua\_\-status@{lua\_\-status}}
\index{lua\_\-status@{lua\_\-status}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-status ({\bf lua\_\-State} $\ast$ {\em L})}}
\label{lapi_8c_adea4b6f60174a1334ebde560968a615}


\hypertarget{lapi_8c_444aee9aa56b0b06175ee3c7bcf7927c}{
\index{lapi.c@{lapi.c}!lua\_\-toboolean@{lua\_\-toboolean}}
\index{lua\_\-toboolean@{lua\_\-toboolean}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-toboolean ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_444aee9aa56b0b06175ee3c7bcf7927c}


\hypertarget{lapi_8c_e790897a3311d599299895612986d850}{
\index{lapi.c@{lapi.c}!lua\_\-tocfunction@{lua\_\-tocfunction}}
\index{lua\_\-tocfunction@{lua\_\-tocfunction}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API {\bf lua\_\-CFunction} lua\_\-tocfunction ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_e790897a3311d599299895612986d850}


\hypertarget{lapi_8c_728c95a13635f48b0cea1addbf79c545}{
\index{lapi.c@{lapi.c}!lua\_\-tointeger@{lua\_\-tointeger}}
\index{lua\_\-tointeger@{lua\_\-tointeger}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API {\bf lua\_\-Integer} lua\_\-tointeger ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_728c95a13635f48b0cea1addbf79c545}


\hypertarget{lapi_8c_3fc7dbcac3f2610f3d687ec15343bd3f}{
\index{lapi.c@{lapi.c}!lua\_\-tolstring@{lua\_\-tolstring}}
\index{lua\_\-tolstring@{lua\_\-tolstring}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API const char$\ast$ lua\_\-tolstring ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx}, \/  size\_\-t $\ast$ {\em len})}}
\label{lapi_8c_3fc7dbcac3f2610f3d687ec15343bd3f}


\hypertarget{lapi_8c_42c1f68101dc98a6ae4695c8577b17f8}{
\index{lapi.c@{lapi.c}!lua\_\-tonumber@{lua\_\-tonumber}}
\index{lua\_\-tonumber@{lua\_\-tonumber}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API {\bf lua\_\-Number} lua\_\-tonumber ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_42c1f68101dc98a6ae4695c8577b17f8}


\hypertarget{lapi_8c_5b533fe96cb52b5415896d41daad374a}{
\index{lapi.c@{lapi.c}!lua\_\-topointer@{lua\_\-topointer}}
\index{lua\_\-topointer@{lua\_\-topointer}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API const void$\ast$ lua\_\-topointer ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_5b533fe96cb52b5415896d41daad374a}


\hypertarget{lapi_8c_d1dcea410edb5c5595fc070f8bf2e9a0}{
\index{lapi.c@{lapi.c}!lua\_\-tothread@{lua\_\-tothread}}
\index{lua\_\-tothread@{lua\_\-tothread}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API {\bf lua\_\-State}$\ast$ lua\_\-tothread ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_d1dcea410edb5c5595fc070f8bf2e9a0}


\hypertarget{lapi_8c_0444ddf13e5618bca969e4b3b47bc0cc}{
\index{lapi.c@{lapi.c}!lua\_\-touserdata@{lua\_\-touserdata}}
\index{lua\_\-touserdata@{lua\_\-touserdata}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void$\ast$ lua\_\-touserdata ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_0444ddf13e5618bca969e4b3b47bc0cc}


\hypertarget{lapi_8c_652b273947f0656686f998d8e90cd3ea}{
\index{lapi.c@{lapi.c}!lua\_\-type@{lua\_\-type}}
\index{lua\_\-type@{lua\_\-type}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API int lua\_\-type ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em idx})}}
\label{lapi_8c_652b273947f0656686f998d8e90cd3ea}


\hypertarget{lapi_8c_7d64f87addab440bbda96bb088816e17}{
\index{lapi.c@{lapi.c}!lua\_\-typename@{lua\_\-typename}}
\index{lua\_\-typename@{lua\_\-typename}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API const char$\ast$ lua\_\-typename ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em t})}}
\label{lapi_8c_7d64f87addab440bbda96bb088816e17}


\hypertarget{lapi_8c_e27bb8d0218710bbbfefc1f573839d6d}{
\index{lapi.c@{lapi.c}!lua\_\-xmove@{lua\_\-xmove}}
\index{lua\_\-xmove@{lua\_\-xmove}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUA\_\-API void lua\_\-xmove ({\bf lua\_\-State} $\ast$ {\em from}, \/  {\bf lua\_\-State} $\ast$ {\em to}, \/  int {\em n})}}
\label{lapi_8c_e27bb8d0218710bbbfefc1f573839d6d}


\hypertarget{lapi_8c_7a20f9a76303e8dda4ecd7adc05917a7}{
\index{lapi.c@{lapi.c}!luaA\_\-pushobject@{luaA\_\-pushobject}}
\index{luaA\_\-pushobject@{luaA\_\-pushobject}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void luaA\_\-pushobject ({\bf lua\_\-State} $\ast$ {\em L}, \/  const {\bf TValue} $\ast$ {\em o})}}
\label{lapi_8c_7a20f9a76303e8dda4ecd7adc05917a7}




\subsection{Variable Documentation}
\hypertarget{lapi_8c_cbf4dc2e5f80547c7f54f41a179258b2}{
\index{lapi.c@{lapi.c}!lua\_\-ident@{lua\_\-ident}}
\index{lua\_\-ident@{lua\_\-ident}!lapi.c@{lapi.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char {\bf lua\_\-ident}\mbox{[}$\,$\mbox{]}}}
\label{lapi_8c_cbf4dc2e5f80547c7f54f41a179258b2}


\textbf{Initial value:}

\begin{Code}\begin{verbatim}
  "$Lua: " LUA_RELEASE " " LUA_COPYRIGHT " $\n"
  "$Authors: " LUA_AUTHORS " $\n"
  "$URL: www.lua.org $\n"
\end{verbatim}
\end{Code}
