lundump.h File Reference

#include "lobject.h"
#include "lzio.h"

Go to the source code of this file.

Defines

#define LUAC_VERSION   0x51
#define LUAC_FORMAT   0
#define LUAC_HEADERSIZE   12

Functions

LUAI_FUNC ProtoluaU_undump (lua_State *L, ZIO *Z, Mbuffer *buff, const char *name)
LUAI_FUNC void luaU_header (char *h)
LUAI_FUNC int luaU_dump (lua_State *L, const Proto *f, lua_Writer w, void *data, int strip)


Define Documentation

#define LUAC_FORMAT   0

Definition at line 31 of file lundump.h.

Referenced by luaU_header().

#define LUAC_HEADERSIZE   12

Definition at line 34 of file lundump.h.

Referenced by DumpHeader(), and LoadHeader().

#define LUAC_VERSION   0x51

Definition at line 28 of file lundump.h.

Referenced by luaU_header().


Function Documentation

LUAI_FUNC int luaU_dump ( lua_State L,
const Proto f,
lua_Writer  w,
void *  data,
int  strip 
)

Definition at line 153 of file ldump.cpp.

References DumpState::data, DumpFunction(), DumpHeader(), DumpState::L, NULL, DumpState::status, DumpState::strip, and DumpState::writer.

LUAI_FUNC void luaU_header ( char *  h  ) 

Definition at line 210 of file lundump.cpp.

References LUA_SIGNATURE, LUAC_FORMAT, and LUAC_VERSION.

LUAI_FUNC Proto* luaU_undump ( lua_State L,
ZIO Z,
Mbuffer buff,
const char *  name 
)

Definition at line 191 of file lundump.cpp.

References LoadState::b, LoadState::L, LoadFunction(), LoadHeader(), LUA_SIGNATURE, luaS_newliteral, LoadState::name, S, and LoadState::Z.


Generated on Mon Feb 16 15:14:58 2009 for Scorched3D by  doxygen 1.5.3