25 #define DumpMem(b,n,size,D) DumpBlock(b,(n)*(size),D)
26 #define DumpVar(x,D) DumpMem(&x,1,sizeof(x),D)
75 #define DumpCode(f,D) DumpVector(f->code,f->sizecode,sizeof(Instruction),D)
static void DumpInt(int x, DumpState *D)
int luaU_dump(lua_State *L, const Proto *f, lua_Writer w, void *data, int strip)
GLint GLint GLint GLint GLint GLint y
GLint GLenum GLsizei GLint GLsizei const GLvoid * data
std::string & strip(std::string &str)
Remove whitespace from the front and back of the string 'str'.
GLdouble GLdouble GLdouble b
static void DumpNumber(lua_Number x, DumpState *D)
static void DumpDebug(const Proto *f, DumpState *D)
static void DumpConstants(const Proto *f, DumpState *D)
GLubyte GLubyte GLubyte GLubyte w
static void DumpChar(int y, DumpState *D)
static void DumpVector(const void *b, int n, size_t size, DumpState *D)
int(* lua_Writer)(lua_State *L, const void *p, size_t sz, void *ud)
GLfloat GLfloat GLfloat GLfloat h
GLint GLint GLint GLint GLint x
static void DumpFunction(const Proto *f, DumpState *D)
static void DumpString(const TString *s, DumpState *D)
#define DumpMem(b, n, size, D)
static void DumpHeader(DumpState *D)
void luaU_header(lu_byte *h)
static void DumpUpvalues(const Proto *f, DumpState *D)
static void DumpBlock(const void *b, size_t size, DumpState *D)