lua5.4
宏定义 | 函数
lundump.h 文件参考
#include "llimits.h"
#include "lobject.h"
#include "lzio.h"
lundump.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

宏定义

#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') /* assume one-digit numerals */
 
#define LUAC_VERSION   (MYINT(LUA_VERSION_MAJOR)*16+MYINT(LUA_VERSION_MINOR))
 
#define LUAC_FORMAT   0 /* this is the official format */
 

函数

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)
 

宏定义说明

◆ 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') /* assume one-digit numerals */

函数说明

◆ luaU_dump()

LUAI_FUNC int luaU_dump ( lua_State L,
const Proto f,
lua_Writer  w,
void *  data,
int  strip 
)
函数调用图:
这是这个函数的调用关系图:

◆ luaU_undump()

LUAI_FUNC LClosure* luaU_undump ( lua_State L,
ZIO Z,
const char *  name 
)
函数调用图:
这是这个函数的调用关系图: