lua/lundump.h File Reference

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

Go to the source code of this file.

Defines

#define LUA_SIGNATURE   "\033Lua"
#define VERSION   0x50
#define VERSION0   0x50
#define TEST_NUMBER   ((lua_Number)3.14159265358979323846E7)

Functions

ProtoluaU_undump (lua_State *L, ZIO *Z, Mbuffer *buff)
int luaU_endianness (void)
void luaU_dump (lua_State *L, const Proto *Main, lua_Chunkwriter w, void *data)
void luaU_print (const Proto *Main)


Define Documentation

#define LUA_SIGNATURE   "\033Lua"

Definition at line 32 of file lundump.h.

Referenced by DumpHeader(), LoadSignature(), lua_load(), and luaU_undump().

#define TEST_NUMBER   ((lua_Number)3.14159265358979323846E7)

Definition at line 38 of file lundump.h.

Referenced by DumpHeader(), and LoadHeader().

#define VERSION   0x50

Definition at line 33 of file lundump.h.

#define VERSION0   0x50

Definition at line 34 of file lundump.h.

Referenced by LoadHeader().


Function Documentation

void luaU_dump ( lua_State L,
const Proto Main,
lua_Chunkwriter  w,
void *  data 
)

Definition at line 174 of file ldump.c.

References DumpState::data, DumpFunction(), DumpHeader(), DumpState::L, and DumpState::write.

Referenced by lua_dump().

int luaU_endianness ( void   ) 

Definition at line 306 of file lundump.c.

Referenced by DumpHeader(), and LoadHeader().

void luaU_print ( const Proto Main  ) 

Proto* luaU_undump ( lua_State L,
ZIO Z,
Mbuffer buff 
)

Definition at line 287 of file lundump.c.

References LoadState::b, LoadState::L, LoadChunk(), LUA_SIGNATURE, LoadState::name, LoadState::Z, and zname.

Referenced by f_parser().


Generated on Fri Oct 12 08:44:56 2007 for rpm by  doxygen 1.5.2