Ardour  9.0-pre0-582-g084a23a80d
lundump.h File Reference
#include "llimits.h"
#include "lobject.h"
#include "lzio.h"
Include dependency graph for lundump.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)   (s[0]-'0')
 
#define LUAC_VERSION   (MYINT(LUA_VERSION_MAJOR)*16+MYINT(LUA_VERSION_MINOR))
 
#define LUAC_FORMAT   0 /* this is the official format */
 

Functions

LClosureluaU_undump (lua_State *L, ZIO *Z, const char *name)
 
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 16 of file lundump.h.

◆ LUAC_FORMAT

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

Definition at line 23 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 22 of file lundump.h.

◆ MYINT

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

Definition at line 21 of file lundump.h.

Function Documentation

◆ luaU_dump()

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

◆ luaU_undump()

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