\hypertarget{ldump_8c}{
\section{ldump.c File Reference}
\label{ldump_8c}\index{ldump.c@{ldump.c}}
}
{\tt \#include $<$stddef.h$>$}\par
{\tt \#include \char`\"{}lua.h\char`\"{}}\par
{\tt \#include \char`\"{}lobject.h\char`\"{}}\par
{\tt \#include \char`\"{}lstate.h\char`\"{}}\par
{\tt \#include \char`\"{}lundump.h\char`\"{}}\par
\subsection*{Classes}
\begin{CompactItemize}
\item 
struct \hyperlink{structDumpState}{DumpState}
\end{CompactItemize}
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define \hyperlink{ldump_8c_305a0bdaea32b19e7f6d2cb6dce1cc81}{ldump\_\-c}
\item 
\#define \hyperlink{ldump_8c_bf0b3947b59218777a8e928a10be205b}{LUA\_\-CORE}
\item 
\#define \hyperlink{ldump_8c_055d8fe28b6d194b95aa6b2f6f7598ac}{DumpMem}(b, n, size, D)~DumpBlock(b,(n)$\ast$(size),D)
\item 
\#define \hyperlink{ldump_8c_52c018534c85f035134bda2d895b13ad}{DumpVar}(x, D)~DumpMem(\&x,1,sizeof(x),D)
\item 
\#define \hyperlink{ldump_8c_f88c8ed9fadbb38c9bd5a108fa1602df}{DumpCode}(f, D)~DumpVector(f $\rightarrow$ code,f $\rightarrow$ sizecode,sizeof(\hyperlink{llimits_8h_2d9700d30c1ae59754ecf50917c04d43}{Instruction}),D)
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
static void \hyperlink{ldump_8c_40e1c95af54aa85dfc7b5d06f562b554}{DumpBlock} (const void $\ast$b, size\_\-t size, \hyperlink{structDumpState}{DumpState} $\ast$D)
\item 
static void \hyperlink{ldump_8c_98e180930f4c43eae03dda094d90ce19}{DumpChar} (int y, \hyperlink{structDumpState}{DumpState} $\ast$D)
\item 
static void \hyperlink{ldump_8c_4a55ebda023c7216f2a3ecf25bb7a2d9}{DumpInt} (int x, \hyperlink{structDumpState}{DumpState} $\ast$D)
\item 
static void \hyperlink{ldump_8c_14f306334d614ad10940c996f629e23a}{DumpNumber} (\hyperlink{lua_8h_f0a6ed3b852d680769cfc410a0672172}{lua\_\-Number} x, \hyperlink{structDumpState}{DumpState} $\ast$D)
\item 
static void \hyperlink{ldump_8c_2310c3dd198ce48b133367ddcd6e6230}{DumpVector} (const void $\ast$b, int n, size\_\-t size, \hyperlink{structDumpState}{DumpState} $\ast$D)
\item 
static void \hyperlink{ldump_8c_d0dfa73bb3157cd60270ce57749daf69}{DumpString} (const \hyperlink{unionTString}{TString} $\ast$s, \hyperlink{structDumpState}{DumpState} $\ast$D)
\item 
static void \hyperlink{ldump_8c_faff289249e3139365f226036f6c2cc7}{DumpFunction} (const \hyperlink{structProto}{Proto} $\ast$f, const \hyperlink{unionTString}{TString} $\ast$p, \hyperlink{structDumpState}{DumpState} $\ast$D)
\item 
static void \hyperlink{ldump_8c_9fa7a30ec9113d0f913e6b13f0bd68bc}{DumpConstants} (const \hyperlink{structProto}{Proto} $\ast$f, \hyperlink{structDumpState}{DumpState} $\ast$D)
\item 
static void \hyperlink{ldump_8c_e8565d7f2579c778dad98db4a2890b6c}{DumpDebug} (const \hyperlink{structProto}{Proto} $\ast$f, \hyperlink{structDumpState}{DumpState} $\ast$D)
\item 
static void \hyperlink{ldump_8c_7c7489064282d75dad1293dcd1880bfc}{DumpHeader} (\hyperlink{structDumpState}{DumpState} $\ast$D)
\item 
int \hyperlink{ldump_8c_808f6a29001ac6446f40c76014c6b6e9}{luaU\_\-dump} (\hyperlink{structlua__State}{lua\_\-State} $\ast$\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}, const \hyperlink{structProto}{Proto} $\ast$f, \hyperlink{lua_8h_739e0fce611e90942d1f15c302187e05}{lua\_\-Writer} w, void $\ast$data, int strip)
\end{CompactItemize}


\subsection{Define Documentation}
\hypertarget{ldump_8c_f88c8ed9fadbb38c9bd5a108fa1602df}{
\index{ldump.c@{ldump.c}!DumpCode@{DumpCode}}
\index{DumpCode@{DumpCode}!ldump.c@{ldump.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define DumpCode(f, \/  D)~DumpVector(f $\rightarrow$ code,f $\rightarrow$ sizecode,sizeof({\bf Instruction}),D)}}
\label{ldump_8c_f88c8ed9fadbb38c9bd5a108fa1602df}


\hypertarget{ldump_8c_055d8fe28b6d194b95aa6b2f6f7598ac}{
\index{ldump.c@{ldump.c}!DumpMem@{DumpMem}}
\index{DumpMem@{DumpMem}!ldump.c@{ldump.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define DumpMem(b, \/  n, \/  size, \/  D)~DumpBlock(b,(n)$\ast$(size),D)}}
\label{ldump_8c_055d8fe28b6d194b95aa6b2f6f7598ac}


\hypertarget{ldump_8c_52c018534c85f035134bda2d895b13ad}{
\index{ldump.c@{ldump.c}!DumpVar@{DumpVar}}
\index{DumpVar@{DumpVar}!ldump.c@{ldump.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define DumpVar(x, \/  D)~DumpMem(\&x,1,sizeof(x),D)}}
\label{ldump_8c_52c018534c85f035134bda2d895b13ad}


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


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




\subsection{Function Documentation}
\hypertarget{ldump_8c_40e1c95af54aa85dfc7b5d06f562b554}{
\index{ldump.c@{ldump.c}!DumpBlock@{DumpBlock}}
\index{DumpBlock@{DumpBlock}!ldump.c@{ldump.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void DumpBlock (const void $\ast$ {\em b}, \/  size\_\-t {\em size}, \/  {\bf DumpState} $\ast$ {\em D})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldump_8c_40e1c95af54aa85dfc7b5d06f562b554}


\hypertarget{ldump_8c_98e180930f4c43eae03dda094d90ce19}{
\index{ldump.c@{ldump.c}!DumpChar@{DumpChar}}
\index{DumpChar@{DumpChar}!ldump.c@{ldump.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void DumpChar (int {\em y}, \/  {\bf DumpState} $\ast$ {\em D})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldump_8c_98e180930f4c43eae03dda094d90ce19}


\hypertarget{ldump_8c_9fa7a30ec9113d0f913e6b13f0bd68bc}{
\index{ldump.c@{ldump.c}!DumpConstants@{DumpConstants}}
\index{DumpConstants@{DumpConstants}!ldump.c@{ldump.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void DumpConstants (const {\bf Proto} $\ast$ {\em f}, \/  {\bf DumpState} $\ast$ {\em D})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldump_8c_9fa7a30ec9113d0f913e6b13f0bd68bc}


\hypertarget{ldump_8c_e8565d7f2579c778dad98db4a2890b6c}{
\index{ldump.c@{ldump.c}!DumpDebug@{DumpDebug}}
\index{DumpDebug@{DumpDebug}!ldump.c@{ldump.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void DumpDebug (const {\bf Proto} $\ast$ {\em f}, \/  {\bf DumpState} $\ast$ {\em D})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldump_8c_e8565d7f2579c778dad98db4a2890b6c}


\hypertarget{ldump_8c_faff289249e3139365f226036f6c2cc7}{
\index{ldump.c@{ldump.c}!DumpFunction@{DumpFunction}}
\index{DumpFunction@{DumpFunction}!ldump.c@{ldump.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void DumpFunction (const {\bf Proto} $\ast$ {\em f}, \/  const {\bf TString} $\ast$ {\em p}, \/  {\bf DumpState} $\ast$ {\em D})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldump_8c_faff289249e3139365f226036f6c2cc7}


\hypertarget{ldump_8c_7c7489064282d75dad1293dcd1880bfc}{
\index{ldump.c@{ldump.c}!DumpHeader@{DumpHeader}}
\index{DumpHeader@{DumpHeader}!ldump.c@{ldump.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void DumpHeader ({\bf DumpState} $\ast$ {\em D})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldump_8c_7c7489064282d75dad1293dcd1880bfc}


\hypertarget{ldump_8c_4a55ebda023c7216f2a3ecf25bb7a2d9}{
\index{ldump.c@{ldump.c}!DumpInt@{DumpInt}}
\index{DumpInt@{DumpInt}!ldump.c@{ldump.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void DumpInt (int {\em x}, \/  {\bf DumpState} $\ast$ {\em D})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldump_8c_4a55ebda023c7216f2a3ecf25bb7a2d9}


\hypertarget{ldump_8c_14f306334d614ad10940c996f629e23a}{
\index{ldump.c@{ldump.c}!DumpNumber@{DumpNumber}}
\index{DumpNumber@{DumpNumber}!ldump.c@{ldump.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void DumpNumber ({\bf lua\_\-Number} {\em x}, \/  {\bf DumpState} $\ast$ {\em D})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldump_8c_14f306334d614ad10940c996f629e23a}


\hypertarget{ldump_8c_d0dfa73bb3157cd60270ce57749daf69}{
\index{ldump.c@{ldump.c}!DumpString@{DumpString}}
\index{DumpString@{DumpString}!ldump.c@{ldump.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void DumpString (const {\bf TString} $\ast$ {\em s}, \/  {\bf DumpState} $\ast$ {\em D})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldump_8c_d0dfa73bb3157cd60270ce57749daf69}


\hypertarget{ldump_8c_2310c3dd198ce48b133367ddcd6e6230}{
\index{ldump.c@{ldump.c}!DumpVector@{DumpVector}}
\index{DumpVector@{DumpVector}!ldump.c@{ldump.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void DumpVector (const void $\ast$ {\em b}, \/  int {\em n}, \/  size\_\-t {\em size}, \/  {\bf DumpState} $\ast$ {\em D})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{ldump_8c_2310c3dd198ce48b133367ddcd6e6230}


\hypertarget{ldump_8c_808f6a29001ac6446f40c76014c6b6e9}{
\index{ldump.c@{ldump.c}!luaU\_\-dump@{luaU\_\-dump}}
\index{luaU\_\-dump@{luaU\_\-dump}!ldump.c@{ldump.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int luaU\_\-dump ({\bf lua\_\-State} $\ast$ {\em L}, \/  const {\bf Proto} $\ast$ {\em f}, \/  {\bf lua\_\-Writer} {\em w}, \/  void $\ast$ {\em data}, \/  int {\em strip})}}
\label{ldump_8c_808f6a29001ac6446f40c76014c6b6e9}


