sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
lundump.h File Reference
#include "llimits.h"
#include "lobject.h"
#include "lzio.h"

Go to the source code of this file.

Macros

#define LUAC_DATA   "\x19\x93\r\n\x1a\n"
#define LUAC_INT   0x5678
#define LUAC_NUM   cast_num(370.5)
#define MYINT(s)
#define LUAC_VERSION   (MYINT(LUA_VERSION_MAJOR)*16+MYINT(LUA_VERSION_MINOR))
#define LUAC_FORMAT   0

Functions

LUAI_FUNC LClosure * luaU_undump (lua_State *L, ZIO *Z, const char *name)
LUAI_FUNC int luaU_dump (lua_State *L, const Proto *f, lua_Writer w, void *data, int strip)

Macro Definition Documentation

◆ LUAC_DATA

#define LUAC_DATA   "\x19\x93\r\n\x1a\n"

Definition at line 20 of file lundump.h.

◆ LUAC_FORMAT

#define LUAC_FORMAT   0

Definition at line 31 of file lundump.h.

◆ LUAC_INT

#define LUAC_INT   0x5678

Definition at line 22 of file lundump.h.

◆ LUAC_NUM

#define LUAC_NUM   cast_num(370.5)

Definition at line 23 of file lundump.h.

◆ LUAC_VERSION

#define LUAC_VERSION   (MYINT(LUA_VERSION_MAJOR)*16+MYINT(LUA_VERSION_MINOR))

Definition at line 29 of file lundump.h.

◆ MYINT

#define MYINT ( s)
Value:
(s[0]-'0')

Definition at line 28 of file lundump.h.

Function Documentation

◆ luaU_dump()

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

Definition at line 217 of file ldump.c.

◆ luaU_undump()

LUAI_FUNC LClosure * luaU_undump ( lua_State * L,
ZIO * Z,
const char * name )

Definition at line 313 of file lundump.c.