Macros | Functions
lundump.h File Reference
#include "llimits.h"
#include "lobject.h"
#include "lzio.h"
Include dependency graph for lundump.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LUAC_DATA   "\x19\x93\r\n\x1a\n"
 
#define LUAC_FORMAT   0 /* this is the official format */
 
#define LUAC_INT   0x5678
 
#define LUAC_NUM   cast_num(370.5)
 
#define LUAC_VERSION   (MYINT(LUA_VERSION_MAJOR)*16+MYINT(LUA_VERSION_MINOR))
 
#define MYINT(s)   (s[0]-'0') /* assume one-digit numerals */
 

Functions

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

Macro Definition Documentation

◆ LUAC_DATA

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

Definition at line 16 of file lundump.h.

◆ LUAC_FORMAT

#define LUAC_FORMAT   0 /* this is the official format */

Definition at line 27 of file lundump.h.

◆ LUAC_INT

#define LUAC_INT   0x5678

Definition at line 18 of file lundump.h.

◆ LUAC_NUM

#define LUAC_NUM   cast_num(370.5)

Definition at line 19 of file lundump.h.

◆ LUAC_VERSION

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

Definition at line 25 of file lundump.h.

◆ MYINT

#define MYINT (   s)    (s[0]-'0') /* assume one-digit numerals */

Definition at line 24 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 213 of file ldump.c.

◆ luaU_undump()

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

Definition at line 311 of file lundump.c.



plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:49