\hypertarget{lgc_8c}{
\section{lgc.c File Reference}
\label{lgc_8c}\index{lgc.c@{lgc.c}}
}
{\tt \#include $<$string.h$>$}\par
{\tt \#include \char`\"{}lua.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
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define \hyperlink{lgc_8c_61d084c4959fdcc23103ae67105b3472}{lgc\_\-c}
\item 
\#define \hyperlink{lgc_8c_bf0b3947b59218777a8e928a10be205b}{LUA\_\-CORE}
\item 
\#define \hyperlink{lgc_8c_eb6367d26a4bde87314453841fc5b80c}{GCSTEPSIZE}~1024u
\item 
\#define \hyperlink{lgc_8c_c31abb557425090d41f055c797049ba8}{GCSWEEPMAX}~40
\item 
\#define \hyperlink{lgc_8c_c6240a70277f6388ab6795b7dc30cb1c}{GCSWEEPCOST}~10
\item 
\#define \hyperlink{lgc_8c_84dfd5e385ed6792c171df6b6a972179}{GCFINALIZECOST}~100
\item 
\#define \hyperlink{lgc_8c_bcd0f3f515cda3ec0ca62941f0c7ad3e}{maskmarks}~cast\_\-byte($\sim$(bitmask(BLACKBIT)$|$WHITEBITS))
\item 
\#define \hyperlink{lgc_8c_da061b1d508c516b2e53f546521b3eeb}{makewhite}(g, x)~((x) $\rightarrow$ gch.marked = cast\_\-byte(((x) $\rightarrow$ gch.marked \& maskmarks) $|$ luaC\_\-white(g)))
\item 
\#define \hyperlink{lgc_8c_a598e08eb28253fce9f1ebec51a6a739}{white2gray}(x)~reset2bits((x) $\rightarrow$ gch.marked, WHITE0BIT, WHITE1BIT)
\item 
\#define \hyperlink{lgc_8c_9490dca59c8a4d659ff7522257943f63}{black2gray}(x)~resetbit((x) $\rightarrow$ gch.marked, BLACKBIT)
\item 
\#define \hyperlink{lgc_8c_220f3c1132e8df620410ed6de1a75b49}{stringmark}(s)~reset2bits((s) $\rightarrow$ tsv.marked, WHITE0BIT, WHITE1BIT)
\item 
\#define \hyperlink{lgc_8c_14e1f262784acec7fb2c97cae1e241a2}{isfinalized}(u)~testbit((u) $\rightarrow$ marked, FINALIZEDBIT)
\item 
\#define \hyperlink{lgc_8c_27a77307b90dae514183dc73279ba46b}{markfinalized}(u)~l\_\-setbit((u) $\rightarrow$ marked, FINALIZEDBIT)
\item 
\#define \hyperlink{lgc_8c_c92cf2e20106bb0a9b68e0cdb74b286b}{KEYWEAK}~bitmask(KEYWEAKBIT)
\item 
\#define \hyperlink{lgc_8c_cd04fc135b64ac6efe5ba024efa5d8f1}{VALUEWEAK}~bitmask(VALUEWEAKBIT)
\item 
\#define \hyperlink{lgc_8c_2dd4136ac29665568973c074bc450849}{markvalue}(g, o)
\item 
\#define \hyperlink{lgc_8c_6ae72c43e48b29944e55933df7f15482}{markobject}(g, t)
\item 
\#define \hyperlink{lgc_8c_cfcd1e13d0ba5f0a594ac7e977c337d7}{setthreshold}(g)~(g $\rightarrow$ GCthreshold = (g $\rightarrow$ estimate/100) $\ast$ g $\rightarrow$ gcpause)
\item 
\#define \hyperlink{lgc_8c_60b41ae74b2202f8b38a8a5b8527de74}{sweepwholelist}(\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, p)~sweeplist(\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L},p,MAX\_\-LUMEM)
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
static void \hyperlink{lgc_8c_6ed834aee205ee32cb75522c24051a67}{removeentry} (\hyperlink{structNode}{Node} $\ast$n)
\item 
static void \hyperlink{lgc_8c_acf3c8ee0eebd5d5b1cd09da000ad53c}{reallymarkobject} (\hyperlink{structglobal__State}{global\_\-State} $\ast$g, \hyperlink{unionGCObject}{GCObject} $\ast$o)
\item 
static void \hyperlink{lgc_8c_183407747db3400e27fa703c2385a704}{marktmu} (\hyperlink{structglobal__State}{global\_\-State} $\ast$g)
\item 
size\_\-t \hyperlink{lgc_8c_208da9b7b267923ec22a90b2966979f6}{luaC\_\-separateudata} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, int all)
\item 
static int \hyperlink{lgc_8c_807405a5a9f05f70473f7d1ce4c68378}{traversetable} (\hyperlink{structglobal__State}{global\_\-State} $\ast$g, \hyperlink{structTable}{Table} $\ast$h)
\item 
static void \hyperlink{lgc_8c_3447fa36b7629097dd2976567d1801ee}{traverseproto} (\hyperlink{structglobal__State}{global\_\-State} $\ast$g, \hyperlink{structProto}{Proto} $\ast$f)
\item 
static void \hyperlink{lgc_8c_f211045ee52c61a4d8bbbefb1561202d}{traverseclosure} (\hyperlink{structglobal__State}{global\_\-State} $\ast$g, \hyperlink{unionClosure}{Closure} $\ast$cl)
\item 
static void \hyperlink{lgc_8c_3091af958bc0821e5c6e49308f91d06d}{checkstacksizes} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{structlua__TValue}{StkId} max)
\item 
static void \hyperlink{lgc_8c_7e8e025193a9593e23222a2300167543}{traversestack} (\hyperlink{structglobal__State}{global\_\-State} $\ast$g, \hyperlink{structlua__State}{lua\_\-State} $\ast$l)
\item 
static \hyperlink{llimits_8h_85638ce9e30eaebe04b1c7d0a8f98377}{l\_\-mem} \hyperlink{lgc_8c_b7d3f49b190e7443a0f6f9be5687531d}{propagatemark} (\hyperlink{structglobal__State}{global\_\-State} $\ast$g)
\item 
static size\_\-t \hyperlink{lgc_8c_5dc2b7a11d04f03d72a0f691eaae0582}{propagateall} (\hyperlink{structglobal__State}{global\_\-State} $\ast$g)
\item 
static int \hyperlink{lgc_8c_96ebe5dcb7186f7ee4ff1cc84ea425b9}{iscleared} (const \hyperlink{structlua__TValue}{TValue} $\ast$o, int iskey)
\item 
static void \hyperlink{lgc_8c_f61386b12aefeb4a5e9cabae6dcddc65}{cleartable} (\hyperlink{unionGCObject}{GCObject} $\ast$l)
\item 
static void \hyperlink{lgc_8c_a198d7da2a8502ed70adfe1f7ed38f46}{freeobj} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{unionGCObject}{GCObject} $\ast$o)
\item 
static \hyperlink{unionGCObject}{GCObject} $\ast$$\ast$ \hyperlink{lgc_8c_1a347c9874b03409ec489cbf418c40a3}{sweeplist} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{unionGCObject}{GCObject} $\ast$$\ast$p, \hyperlink{llimits_8h_5bad522ae691bff7310f85afccf49170}{lu\_\-mem} count)
\item 
static void \hyperlink{lgc_8c_ace8516e609d7409e789e7b2c190b9c2}{checkSizes} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
static void \hyperlink{lgc_8c_af7c6e9e6a93da6bb64ffe7654668ba3}{GCTM} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
void \hyperlink{lgc_8c_0388006a78218c113dfa6cc19d2da373}{luaC\_\-callGCTM} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
void \hyperlink{lgc_8c_5cb43c5bd8d56c50047cbe33f55f1520}{luaC\_\-freeall} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
static void \hyperlink{lgc_8c_9e8dd447c32dde7eeb9fc5da83df09b1}{markmt} (\hyperlink{structglobal__State}{global\_\-State} $\ast$g)
\item 
static void \hyperlink{lgc_8c_6c876056ffab0ba795f687f326243a62}{markroot} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
static void \hyperlink{lgc_8c_846c8a9319e7fb8d2cbc00cadd55205d}{remarkupvals} (\hyperlink{structglobal__State}{global\_\-State} $\ast$g)
\item 
static void \hyperlink{lgc_8c_4658390b66f99413613f84b14b15127a}{atomic} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
static \hyperlink{llimits_8h_85638ce9e30eaebe04b1c7d0a8f98377}{l\_\-mem} \hyperlink{lgc_8c_b48072941cba39be43a7bd6d9eabc72a}{singlestep} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
void \hyperlink{lgc_8c_b0133eb7bb37a0a690e0ef71fbc13414}{luaC\_\-step} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
void \hyperlink{lgc_8c_42a86c66ac02f72ad364f92a946a09e7}{luaC\_\-fullgc} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
void \hyperlink{lgc_8c_229ccb24a4a31f5906cf5ef0add24754}{luaC\_\-barrierf} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{unionGCObject}{GCObject} $\ast$o, \hyperlink{unionGCObject}{GCObject} $\ast$v)
\item 
void \hyperlink{lgc_8c_ba54389e20a51b6687ff598c44bd0d98}{luaC\_\-barrierback} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{structTable}{Table} $\ast$t)
\item 
void \hyperlink{lgc_8c_8ceb43f94e1513c18f99e7d2ee6f944e}{luaC\_\-link} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{unionGCObject}{GCObject} $\ast$o, \hyperlink{llimits_8h_e1fe9ac10d9803bd1d7bdf30b18bad68}{lu\_\-byte} tt)
\item 
void \hyperlink{lgc_8c_dde678e39ce00c71973bef8ceadda409}{luaC\_\-linkupval} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, \hyperlink{structUpVal}{UpVal} $\ast$uv)
\end{CompactItemize}


\subsection{Define Documentation}
\hypertarget{lgc_8c_9490dca59c8a4d659ff7522257943f63}{
\index{lgc.c@{lgc.c}!black2gray@{black2gray}}
\index{black2gray@{black2gray}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define black2gray(x)~resetbit((x) $\rightarrow$ gch.marked, BLACKBIT)}}
\label{lgc_8c_9490dca59c8a4d659ff7522257943f63}


\hypertarget{lgc_8c_84dfd5e385ed6792c171df6b6a972179}{
\index{lgc.c@{lgc.c}!GCFINALIZECOST@{GCFINALIZECOST}}
\index{GCFINALIZECOST@{GCFINALIZECOST}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define GCFINALIZECOST~100}}
\label{lgc_8c_84dfd5e385ed6792c171df6b6a972179}


\hypertarget{lgc_8c_eb6367d26a4bde87314453841fc5b80c}{
\index{lgc.c@{lgc.c}!GCSTEPSIZE@{GCSTEPSIZE}}
\index{GCSTEPSIZE@{GCSTEPSIZE}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define GCSTEPSIZE~1024u}}
\label{lgc_8c_eb6367d26a4bde87314453841fc5b80c}


\hypertarget{lgc_8c_c6240a70277f6388ab6795b7dc30cb1c}{
\index{lgc.c@{lgc.c}!GCSWEEPCOST@{GCSWEEPCOST}}
\index{GCSWEEPCOST@{GCSWEEPCOST}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define GCSWEEPCOST~10}}
\label{lgc_8c_c6240a70277f6388ab6795b7dc30cb1c}


\hypertarget{lgc_8c_c31abb557425090d41f055c797049ba8}{
\index{lgc.c@{lgc.c}!GCSWEEPMAX@{GCSWEEPMAX}}
\index{GCSWEEPMAX@{GCSWEEPMAX}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define GCSWEEPMAX~40}}
\label{lgc_8c_c31abb557425090d41f055c797049ba8}


\hypertarget{lgc_8c_14e1f262784acec7fb2c97cae1e241a2}{
\index{lgc.c@{lgc.c}!isfinalized@{isfinalized}}
\index{isfinalized@{isfinalized}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define isfinalized(u)~testbit((u) $\rightarrow$ marked, FINALIZEDBIT)}}
\label{lgc_8c_14e1f262784acec7fb2c97cae1e241a2}


\hypertarget{lgc_8c_c92cf2e20106bb0a9b68e0cdb74b286b}{
\index{lgc.c@{lgc.c}!KEYWEAK@{KEYWEAK}}
\index{KEYWEAK@{KEYWEAK}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define KEYWEAK~bitmask(KEYWEAKBIT)}}
\label{lgc_8c_c92cf2e20106bb0a9b68e0cdb74b286b}


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


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


\hypertarget{lgc_8c_da061b1d508c516b2e53f546521b3eeb}{
\index{lgc.c@{lgc.c}!makewhite@{makewhite}}
\index{makewhite@{makewhite}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define makewhite(g, \/  x)~((x) $\rightarrow$ gch.marked = cast\_\-byte(((x) $\rightarrow$ gch.marked \& maskmarks) $|$ luaC\_\-white(g)))}}
\label{lgc_8c_da061b1d508c516b2e53f546521b3eeb}


\hypertarget{lgc_8c_27a77307b90dae514183dc73279ba46b}{
\index{lgc.c@{lgc.c}!markfinalized@{markfinalized}}
\index{markfinalized@{markfinalized}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define markfinalized(u)~l\_\-setbit((u) $\rightarrow$ marked, FINALIZEDBIT)}}
\label{lgc_8c_27a77307b90dae514183dc73279ba46b}


\hypertarget{lgc_8c_6ae72c43e48b29944e55933df7f15482}{
\index{lgc.c@{lgc.c}!markobject@{markobject}}
\index{markobject@{markobject}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define markobject(g, \/  t)}}
\label{lgc_8c_6ae72c43e48b29944e55933df7f15482}


\textbf{Value:}

\begin{Code}\begin{verbatim}{ if (iswhite(obj2gco(t))) \
                reallymarkobject(g, obj2gco(t)); }
\end{verbatim}
\end{Code}
\hypertarget{lgc_8c_2dd4136ac29665568973c074bc450849}{
\index{lgc.c@{lgc.c}!markvalue@{markvalue}}
\index{markvalue@{markvalue}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define markvalue(g, \/  o)}}
\label{lgc_8c_2dd4136ac29665568973c074bc450849}


\textbf{Value:}

\begin{Code}\begin{verbatim}{ checkconsistency(o); \
  if (iscollectable(o) && iswhite(gcvalue(o))) reallymarkobject(g,gcvalue(o)); }
\end{verbatim}
\end{Code}
\hypertarget{lgc_8c_bcd0f3f515cda3ec0ca62941f0c7ad3e}{
\index{lgc.c@{lgc.c}!maskmarks@{maskmarks}}
\index{maskmarks@{maskmarks}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define maskmarks~cast\_\-byte($\sim$(bitmask(BLACKBIT)$|$WHITEBITS))}}
\label{lgc_8c_bcd0f3f515cda3ec0ca62941f0c7ad3e}


\hypertarget{lgc_8c_cfcd1e13d0ba5f0a594ac7e977c337d7}{
\index{lgc.c@{lgc.c}!setthreshold@{setthreshold}}
\index{setthreshold@{setthreshold}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define setthreshold(g)~(g $\rightarrow$ GCthreshold = (g $\rightarrow$ estimate/100) $\ast$ g $\rightarrow$ gcpause)}}
\label{lgc_8c_cfcd1e13d0ba5f0a594ac7e977c337d7}


\hypertarget{lgc_8c_220f3c1132e8df620410ed6de1a75b49}{
\index{lgc.c@{lgc.c}!stringmark@{stringmark}}
\index{stringmark@{stringmark}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define stringmark(s)~reset2bits((s) $\rightarrow$ tsv.marked, WHITE0BIT, WHITE1BIT)}}
\label{lgc_8c_220f3c1132e8df620410ed6de1a75b49}


\hypertarget{lgc_8c_60b41ae74b2202f8b38a8a5b8527de74}{
\index{lgc.c@{lgc.c}!sweepwholelist@{sweepwholelist}}
\index{sweepwholelist@{sweepwholelist}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define sweepwholelist({\bf L}, \/  p)~sweeplist({\bf L},p,MAX\_\-LUMEM)}}
\label{lgc_8c_60b41ae74b2202f8b38a8a5b8527de74}


\hypertarget{lgc_8c_cd04fc135b64ac6efe5ba024efa5d8f1}{
\index{lgc.c@{lgc.c}!VALUEWEAK@{VALUEWEAK}}
\index{VALUEWEAK@{VALUEWEAK}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define VALUEWEAK~bitmask(VALUEWEAKBIT)}}
\label{lgc_8c_cd04fc135b64ac6efe5ba024efa5d8f1}


\hypertarget{lgc_8c_a598e08eb28253fce9f1ebec51a6a739}{
\index{lgc.c@{lgc.c}!white2gray@{white2gray}}
\index{white2gray@{white2gray}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define white2gray(x)~reset2bits((x) $\rightarrow$ gch.marked, WHITE0BIT, WHITE1BIT)}}
\label{lgc_8c_a598e08eb28253fce9f1ebec51a6a739}




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


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


\hypertarget{lgc_8c_3091af958bc0821e5c6e49308f91d06d}{
\index{lgc.c@{lgc.c}!checkstacksizes@{checkstacksizes}}
\index{checkstacksizes@{checkstacksizes}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void checkstacksizes ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf StkId} {\em max})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{lgc_8c_3091af958bc0821e5c6e49308f91d06d}


\hypertarget{lgc_8c_f61386b12aefeb4a5e9cabae6dcddc65}{
\index{lgc.c@{lgc.c}!cleartable@{cleartable}}
\index{cleartable@{cleartable}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void cleartable ({\bf GCObject} $\ast$ {\em l})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{lgc_8c_f61386b12aefeb4a5e9cabae6dcddc65}


\hypertarget{lgc_8c_a198d7da2a8502ed70adfe1f7ed38f46}{
\index{lgc.c@{lgc.c}!freeobj@{freeobj}}
\index{freeobj@{freeobj}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void freeobj ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf GCObject} $\ast$ {\em o})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{lgc_8c_a198d7da2a8502ed70adfe1f7ed38f46}


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


\hypertarget{lgc_8c_96ebe5dcb7186f7ee4ff1cc84ea425b9}{
\index{lgc.c@{lgc.c}!iscleared@{iscleared}}
\index{iscleared@{iscleared}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static int iscleared (const {\bf TValue} $\ast$ {\em o}, \/  int {\em iskey})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{lgc_8c_96ebe5dcb7186f7ee4ff1cc84ea425b9}


\hypertarget{lgc_8c_ba54389e20a51b6687ff598c44bd0d98}{
\index{lgc.c@{lgc.c}!luaC\_\-barrierback@{luaC\_\-barrierback}}
\index{luaC\_\-barrierback@{luaC\_\-barrierback}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void luaC\_\-barrierback ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf Table} $\ast$ {\em t})}}
\label{lgc_8c_ba54389e20a51b6687ff598c44bd0d98}


\hypertarget{lgc_8c_229ccb24a4a31f5906cf5ef0add24754}{
\index{lgc.c@{lgc.c}!luaC\_\-barrierf@{luaC\_\-barrierf}}
\index{luaC\_\-barrierf@{luaC\_\-barrierf}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void luaC\_\-barrierf ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf GCObject} $\ast$ {\em o}, \/  {\bf GCObject} $\ast$ {\em v})}}
\label{lgc_8c_229ccb24a4a31f5906cf5ef0add24754}


\hypertarget{lgc_8c_0388006a78218c113dfa6cc19d2da373}{
\index{lgc.c@{lgc.c}!luaC\_\-callGCTM@{luaC\_\-callGCTM}}
\index{luaC\_\-callGCTM@{luaC\_\-callGCTM}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void luaC\_\-callGCTM ({\bf lua\_\-State} $\ast$ {\em L})}}
\label{lgc_8c_0388006a78218c113dfa6cc19d2da373}


\hypertarget{lgc_8c_5cb43c5bd8d56c50047cbe33f55f1520}{
\index{lgc.c@{lgc.c}!luaC\_\-freeall@{luaC\_\-freeall}}
\index{luaC\_\-freeall@{luaC\_\-freeall}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void luaC\_\-freeall ({\bf lua\_\-State} $\ast$ {\em L})}}
\label{lgc_8c_5cb43c5bd8d56c50047cbe33f55f1520}


\hypertarget{lgc_8c_42a86c66ac02f72ad364f92a946a09e7}{
\index{lgc.c@{lgc.c}!luaC\_\-fullgc@{luaC\_\-fullgc}}
\index{luaC\_\-fullgc@{luaC\_\-fullgc}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void luaC\_\-fullgc ({\bf lua\_\-State} $\ast$ {\em L})}}
\label{lgc_8c_42a86c66ac02f72ad364f92a946a09e7}


\hypertarget{lgc_8c_8ceb43f94e1513c18f99e7d2ee6f944e}{
\index{lgc.c@{lgc.c}!luaC\_\-link@{luaC\_\-link}}
\index{luaC\_\-link@{luaC\_\-link}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void luaC\_\-link ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf GCObject} $\ast$ {\em o}, \/  {\bf lu\_\-byte} {\em tt})}}
\label{lgc_8c_8ceb43f94e1513c18f99e7d2ee6f944e}


\hypertarget{lgc_8c_dde678e39ce00c71973bef8ceadda409}{
\index{lgc.c@{lgc.c}!luaC\_\-linkupval@{luaC\_\-linkupval}}
\index{luaC\_\-linkupval@{luaC\_\-linkupval}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void luaC\_\-linkupval ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf UpVal} $\ast$ {\em uv})}}
\label{lgc_8c_dde678e39ce00c71973bef8ceadda409}


\hypertarget{lgc_8c_208da9b7b267923ec22a90b2966979f6}{
\index{lgc.c@{lgc.c}!luaC\_\-separateudata@{luaC\_\-separateudata}}
\index{luaC\_\-separateudata@{luaC\_\-separateudata}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}size\_\-t luaC\_\-separateudata ({\bf lua\_\-State} $\ast$ {\em L}, \/  int {\em all})}}
\label{lgc_8c_208da9b7b267923ec22a90b2966979f6}


\hypertarget{lgc_8c_b0133eb7bb37a0a690e0ef71fbc13414}{
\index{lgc.c@{lgc.c}!luaC\_\-step@{luaC\_\-step}}
\index{luaC\_\-step@{luaC\_\-step}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void luaC\_\-step ({\bf lua\_\-State} $\ast$ {\em L})}}
\label{lgc_8c_b0133eb7bb37a0a690e0ef71fbc13414}


\hypertarget{lgc_8c_9e8dd447c32dde7eeb9fc5da83df09b1}{
\index{lgc.c@{lgc.c}!markmt@{markmt}}
\index{markmt@{markmt}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void markmt ({\bf global\_\-State} $\ast$ {\em g})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{lgc_8c_9e8dd447c32dde7eeb9fc5da83df09b1}


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


\hypertarget{lgc_8c_183407747db3400e27fa703c2385a704}{
\index{lgc.c@{lgc.c}!marktmu@{marktmu}}
\index{marktmu@{marktmu}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void marktmu ({\bf global\_\-State} $\ast$ {\em g})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{lgc_8c_183407747db3400e27fa703c2385a704}


\hypertarget{lgc_8c_5dc2b7a11d04f03d72a0f691eaae0582}{
\index{lgc.c@{lgc.c}!propagateall@{propagateall}}
\index{propagateall@{propagateall}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static size\_\-t propagateall ({\bf global\_\-State} $\ast$ {\em g})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{lgc_8c_5dc2b7a11d04f03d72a0f691eaae0582}


\hypertarget{lgc_8c_b7d3f49b190e7443a0f6f9be5687531d}{
\index{lgc.c@{lgc.c}!propagatemark@{propagatemark}}
\index{propagatemark@{propagatemark}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static {\bf l\_\-mem} propagatemark ({\bf global\_\-State} $\ast$ {\em g})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{lgc_8c_b7d3f49b190e7443a0f6f9be5687531d}


\hypertarget{lgc_8c_acf3c8ee0eebd5d5b1cd09da000ad53c}{
\index{lgc.c@{lgc.c}!reallymarkobject@{reallymarkobject}}
\index{reallymarkobject@{reallymarkobject}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void reallymarkobject ({\bf global\_\-State} $\ast$ {\em g}, \/  {\bf GCObject} $\ast$ {\em o})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{lgc_8c_acf3c8ee0eebd5d5b1cd09da000ad53c}


\hypertarget{lgc_8c_846c8a9319e7fb8d2cbc00cadd55205d}{
\index{lgc.c@{lgc.c}!remarkupvals@{remarkupvals}}
\index{remarkupvals@{remarkupvals}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void remarkupvals ({\bf global\_\-State} $\ast$ {\em g})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{lgc_8c_846c8a9319e7fb8d2cbc00cadd55205d}


\hypertarget{lgc_8c_6ed834aee205ee32cb75522c24051a67}{
\index{lgc.c@{lgc.c}!removeentry@{removeentry}}
\index{removeentry@{removeentry}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void removeentry ({\bf Node} $\ast$ {\em n})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{lgc_8c_6ed834aee205ee32cb75522c24051a67}


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


\hypertarget{lgc_8c_1a347c9874b03409ec489cbf418c40a3}{
\index{lgc.c@{lgc.c}!sweeplist@{sweeplist}}
\index{sweeplist@{sweeplist}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static {\bf GCObject}$\ast$$\ast$ sweeplist ({\bf lua\_\-State} $\ast$ {\em L}, \/  {\bf GCObject} $\ast$$\ast$ {\em p}, \/  {\bf lu\_\-mem} {\em count})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{lgc_8c_1a347c9874b03409ec489cbf418c40a3}


\hypertarget{lgc_8c_f211045ee52c61a4d8bbbefb1561202d}{
\index{lgc.c@{lgc.c}!traverseclosure@{traverseclosure}}
\index{traverseclosure@{traverseclosure}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void traverseclosure ({\bf global\_\-State} $\ast$ {\em g}, \/  {\bf Closure} $\ast$ {\em cl})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{lgc_8c_f211045ee52c61a4d8bbbefb1561202d}


\hypertarget{lgc_8c_3447fa36b7629097dd2976567d1801ee}{
\index{lgc.c@{lgc.c}!traverseproto@{traverseproto}}
\index{traverseproto@{traverseproto}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void traverseproto ({\bf global\_\-State} $\ast$ {\em g}, \/  {\bf Proto} $\ast$ {\em f})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{lgc_8c_3447fa36b7629097dd2976567d1801ee}


\hypertarget{lgc_8c_7e8e025193a9593e23222a2300167543}{
\index{lgc.c@{lgc.c}!traversestack@{traversestack}}
\index{traversestack@{traversestack}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void traversestack ({\bf global\_\-State} $\ast$ {\em g}, \/  {\bf lua\_\-State} $\ast$ {\em l})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{lgc_8c_7e8e025193a9593e23222a2300167543}


\hypertarget{lgc_8c_807405a5a9f05f70473f7d1ce4c68378}{
\index{lgc.c@{lgc.c}!traversetable@{traversetable}}
\index{traversetable@{traversetable}!lgc.c@{lgc.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static int traversetable ({\bf global\_\-State} $\ast$ {\em g}, \/  {\bf Table} $\ast$ {\em h})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{lgc_8c_807405a5a9f05f70473f7d1ce4c68378}


