RetroArch
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_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

LUAI_FUNC LClosureluaU_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"

◆ LUAC_FORMAT

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

◆ LUAC_INT

#define LUAC_INT   0x5678

◆ LUAC_NUM

#define LUAC_NUM   cast_num(370.5)

◆ LUAC_VERSION

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

◆ MYINT

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

Function Documentation

◆ luaU_dump()

LUAI_FUNC int luaU_dump ( lua_State L,
const Proto f,
lua_Writer  w,
void data,
int  strip 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ luaU_undump()

LUAI_FUNC LClosure* luaU_undump ( lua_State L,
ZIO Z,
const char *  name 
)
Here is the call graph for this function:
Here is the caller graph for this function: