\hypertarget{ldblib_8c}{
\section{ldblib.c File Reference}
\label{ldblib_8c}\index{ldblib.c@{ldblib.c}}
}
{\tt \#include $<$stdio.h$>$}\par
{\tt \#include $<$stdlib.h$>$}\par
{\tt \#include $<$string.h$>$}\par
{\tt \#include \char`\"{}lua.h\char`\"{}}\par
{\tt \#include \char`\"{}lauxlib.h\char`\"{}}\par
{\tt \#include \char`\"{}lualib.h\char`\"{}}\par
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define \hyperlink{ldblib_8c_45fbab86b0d9d4fa0676f993eba4bacf}{ldblib\_\-c}
\item 
\#define \hyperlink{ldblib_8c_884b19ad6094d6238c4072a8064aeb12}{LUA\_\-LIB}
\item 
\#define \hyperlink{ldblib_8c_6e3d7fb82b885f522e902bcb0386a626}{LEVELS1}~12
\item 
\#define \hyperlink{ldblib_8c_5f9e9ae6eacbd733a346ecdb14f0e69c}{LEVELS2}~10
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
static int \hyperlink{ldblib_8c_7dd12424841eb9d91aa28c7424d4e380}{db\_\-getregistry} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
static int \hyperlink{ldblib_8c_a84da9dfea83fb9e516443b49b109044}{db\_\-getmetatable} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
static int \hyperlink{ldblib_8c_3595aee1af712c0ba9c586feb763bffc}{db\_\-setmetatable} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
static int \hyperlink{ldblib_8c_bc130fe19380c5f1ee7a7a5068abcf7a}{db\_\-getfenv} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
static int \hyperlink{ldblib_8c_ba251da1081d6beb682ffc370d8048d1}{db\_\-setfenv} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
static void \hyperlink{ldblib_8c_dc75b1bd8ceb611620401f7acfda6b3c}{settabss} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, const char $\ast$i, const char $\ast$v)
\item 
static void \hyperlink{ldblib_8c_2385ac5abe5680037972d926076b5a33}{settabsi} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, const char $\ast$i, int v)
\item 
static \hyperlink{structlua__State}{lua\_\-State} $\ast$ \hyperlink{ldblib_8c_75169427eed495886306b6236f365512}{getthread} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int $\ast$arg)
\item 
static void \hyperlink{ldblib_8c_6269322ee4ae931654d7442fe2be6a46}{treatstackoption} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{structlua__State}{lua\_\-State} $\ast$L1, const char $\ast$fname)
\item 
static int \hyperlink{ldblib_8c_4eb57e66c2efb2d31c9b9e1b01d27e13}{db\_\-getinfo} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
static int \hyperlink{ldblib_8c_e802ce7397e9ebb08a90b69976578ecc}{db\_\-getlocal} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
static int \hyperlink{ldblib_8c_11cfe90e96e7ea907a767f5109f7ef4b}{db\_\-setlocal} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
static int \hyperlink{ldblib_8c_31ebacb3668352430584fe277ac74923}{auxupvalue} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int get)
\item 
static int \hyperlink{ldblib_8c_7a4124c791de7d76bd4fa752eb1569b6}{db\_\-getupvalue} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
static int \hyperlink{ldblib_8c_cd61487bdd057d6c668ec0bd88728670}{db\_\-setupvalue} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
static void \hyperlink{ldblib_8c_5caaa985f31fc5cbd014f831833205e7}{hookf} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{structlua__Debug}{lua\_\-Debug} $\ast$ar)
\item 
static int \hyperlink{ldblib_8c_565f59065c4ab878c3d49097a7f2c471}{makemask} (const char $\ast$smask, int count)
\item 
static char $\ast$ \hyperlink{ldblib_8c_a21335f2f9cd444bde1f824b7bcc5659}{unmakemask} (int mask, char $\ast$smask)
\item 
static void \hyperlink{ldblib_8c_477e68a26d23d4063e2546ba682d4330}{gethooktable} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
static int \hyperlink{ldblib_8c_a0c362d361f8f9bd8a002c34c393e2b0}{db\_\-sethook} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
static int \hyperlink{ldblib_8c_6a624ae8d8ff673e72a317b280ed008d}{db\_\-gethook} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
static int \hyperlink{ldblib_8c_d72cc206e90f6ebc343460376c950a14}{db\_\-debug} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
static int \hyperlink{ldblib_8c_4e775110474c9b082c8d65b2c2a4f5e3}{db\_\-errorfb} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
LUALIB\_\-API int \hyperlink{ldblib_8c_f4811a0b8310b18169b866910583464c}{luaopen\_\-debug} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
static const char \hyperlink{ldblib_8c_a2df92d8858bf17bcdf2ee8820e57c43}{KEY\_\-HOOK} = 'h'
\item 
static const \hyperlink{structluaL__Reg}{luaL\_\-Reg} \hyperlink{ldblib_8c_c91241d20cc27cd0d55e51f4c972101b}{dblib} \mbox{[}$\,$\mbox{]}
\end{CompactItemize}


\subsection{Define Documentation}
\hypertarget{ldblib_8c_45fbab86b0d9d4fa0676f993eba4bacf}{
\index{ldblib.c@{ldblib.c}!ldblib\_\-c@{ldblib\_\-c}}
\index{ldblib\_\-c@{ldblib\_\-c}!ldblib.c@{ldblib.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define ldblib\_\-c}}
\label{ldblib_8c_45fbab86b0d9d4fa0676f993eba4bacf}


\hypertarget{ldblib_8c_6e3d7fb82b885f522e902bcb0386a626}{
\index{ldblib.c@{ldblib.c}!LEVELS1@{LEVELS1}}
\index{LEVELS1@{LEVELS1}!ldblib.c@{ldblib.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LEVELS1~12}}
\label{ldblib_8c_6e3d7fb82b885f522e902bcb0386a626}


\hypertarget{ldblib_8c_5f9e9ae6eacbd733a346ecdb14f0e69c}{
\index{ldblib.c@{ldblib.c}!LEVELS2@{LEVELS2}}
\index{LEVELS2@{LEVELS2}!ldblib.c@{ldblib.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LEVELS2~10}}
\label{ldblib_8c_5f9e9ae6eacbd733a346ecdb14f0e69c}


\hypertarget{ldblib_8c_884b19ad6094d6238c4072a8064aeb12}{
\index{ldblib.c@{ldblib.c}!LUA\_\-LIB@{LUA\_\-LIB}}
\index{LUA\_\-LIB@{LUA\_\-LIB}!ldblib.c@{ldblib.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LUA\_\-LIB}}
\label{ldblib_8c_884b19ad6094d6238c4072a8064aeb12}




\subsection{Function Documentation}
\hypertarget{ldblib_8c_31ebacb3668352430584fe277ac74923}{
\index{ldblib.c@{ldblib.c}!auxupvalue@{auxupvalue}}
\index{auxupvalue@{auxupvalue}!ldblib.c@{ldblib.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static int auxupvalue ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em get})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldblib_8c_31ebacb3668352430584fe277ac74923}


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


\hypertarget{ldblib_8c_5caaa985f31fc5cbd014f831833205e7}{
\index{ldblib.c@{ldblib.c}!hookf@{hookf}}
\index{hookf@{hookf}!ldblib.c@{ldblib.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void hookf ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf lua\_\-Debug} $\ast$ {\em ar})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldblib_8c_5caaa985f31fc5cbd014f831833205e7}


\hypertarget{ldblib_8c_f4811a0b8310b18169b866910583464c}{
\index{ldblib.c@{ldblib.c}!luaopen\_\-debug@{luaopen\_\-debug}}
\index{luaopen\_\-debug@{luaopen\_\-debug}!ldblib.c@{ldblib.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}LUALIB\_\-API int luaopen\_\-debug ({\bf lua\_\-State} $\ast$ {\em L})}}
\label{ldblib_8c_f4811a0b8310b18169b866910583464c}


\hypertarget{ldblib_8c_565f59065c4ab878c3d49097a7f2c471}{
\index{ldblib.c@{ldblib.c}!makemask@{makemask}}
\index{makemask@{makemask}!ldblib.c@{ldblib.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static int makemask (const char $\ast$ {\em smask}, \/  int {\em count})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldblib_8c_565f59065c4ab878c3d49097a7f2c471}


\hypertarget{ldblib_8c_2385ac5abe5680037972d926076b5a33}{
\index{ldblib.c@{ldblib.c}!settabsi@{settabsi}}
\index{settabsi@{settabsi}!ldblib.c@{ldblib.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void settabsi ({\bf lua\_\-State} $\ast$ {\em L}, \/  const char $\ast$ {\em i}, \/  int {\em v})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldblib_8c_2385ac5abe5680037972d926076b5a33}


\hypertarget{ldblib_8c_dc75b1bd8ceb611620401f7acfda6b3c}{
\index{ldblib.c@{ldblib.c}!settabss@{settabss}}
\index{settabss@{settabss}!ldblib.c@{ldblib.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void settabss ({\bf lua\_\-State} $\ast$ {\em L}, \/  const char $\ast$ {\em i}, \/  const char $\ast$ {\em v})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldblib_8c_dc75b1bd8ceb611620401f7acfda6b3c}


\hypertarget{ldblib_8c_6269322ee4ae931654d7442fe2be6a46}{
\index{ldblib.c@{ldblib.c}!treatstackoption@{treatstackoption}}
\index{treatstackoption@{treatstackoption}!ldblib.c@{ldblib.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void treatstackoption ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf lua\_\-State} $\ast$ {\em L1}, \/  const char $\ast$ {\em fname})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldblib_8c_6269322ee4ae931654d7442fe2be6a46}


\hypertarget{ldblib_8c_a21335f2f9cd444bde1f824b7bcc5659}{
\index{ldblib.c@{ldblib.c}!unmakemask@{unmakemask}}
\index{unmakemask@{unmakemask}!ldblib.c@{ldblib.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static char$\ast$ unmakemask (int {\em mask}, \/  char $\ast$ {\em smask})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldblib_8c_a21335f2f9cd444bde1f824b7bcc5659}




\subsection{Variable Documentation}
\hypertarget{ldblib_8c_c91241d20cc27cd0d55e51f4c972101b}{
\index{ldblib.c@{ldblib.c}!dblib@{dblib}}
\index{dblib@{dblib}!ldblib.c@{ldblib.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf luaL\_\-Reg} {\bf dblib}\mbox{[}$\,$\mbox{]}\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldblib_8c_c91241d20cc27cd0d55e51f4c972101b}


\textbf{Initial value:}

\begin{Code}\begin{verbatim} {
  {"debug", db_debug},
  {"getfenv", db_getfenv},
  {"gethook", db_gethook},
  {"getinfo", db_getinfo},
  {"getlocal", db_getlocal},
  {"getregistry", db_getregistry},
  {"getmetatable", db_getmetatable},
  {"getupvalue", db_getupvalue},
  {"setfenv", db_setfenv},
  {"sethook", db_sethook},
  {"setlocal", db_setlocal},
  {"setmetatable", db_setmetatable},
  {"setupvalue", db_setupvalue},
  {"traceback", db_errorfb},
  {NULL, NULL}
}
\end{verbatim}
\end{Code}
\hypertarget{ldblib_8c_a2df92d8858bf17bcdf2ee8820e57c43}{
\index{ldblib.c@{ldblib.c}!KEY\_\-HOOK@{KEY\_\-HOOK}}
\index{KEY\_\-HOOK@{KEY\_\-HOOK}!ldblib.c@{ldblib.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char {\bf KEY\_\-HOOK} = 'h'\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldblib_8c_a2df92d8858bf17bcdf2ee8820e57c43}


