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

浏览源代码.

宏定义

#define pcRel(pc, p)   (cast_int((pc) - (p)->code) - 1)
 
#define ci_func(ci)   (clLvalue(s2v((ci)->func)))
 
#define resethookcount(L)   (L->hookcount = L->basehookcount)
 
#define ABSLINEINFO   (-0x80)
 

函数

LUAI_FUNC int luaG_getfuncline (const Proto *f, int pc)
 
LUAI_FUNC const char * luaG_findlocal (lua_State *L, CallInfo *ci, int n, StkId *pos)
 
LUAI_FUNC l_noret luaG_typeerror (lua_State *L, const TValue *o, const char *opname)
 
LUAI_FUNC l_noret luaG_forerror (lua_State *L, const TValue *o, const char *what)
 
LUAI_FUNC l_noret luaG_concaterror (lua_State *L, const TValue *p1, const TValue *p2)
 
LUAI_FUNC l_noret luaG_opinterror (lua_State *L, const TValue *p1, const TValue *p2, const char *msg)
 
LUAI_FUNC l_noret luaG_tointerror (lua_State *L, const TValue *p1, const TValue *p2)
 
LUAI_FUNC l_noret luaG_ordererror (lua_State *L, const TValue *p1, const TValue *p2)
 
LUAI_FUNC l_noret luaG_runerror (lua_State *L, const char *fmt,...)
 
LUAI_FUNC const char * luaG_addinfo (lua_State *L, const char *msg, TString *src, int line)
 
LUAI_FUNC l_noret luaG_errormsg (lua_State *L)
 
LUAI_FUNC int luaG_traceexec (lua_State *L, const Instruction *pc)
 

宏定义说明

◆ ABSLINEINFO

#define ABSLINEINFO   (-0x80)

◆ ci_func

#define ci_func (   ci)    (clLvalue(s2v((ci)->func)))

◆ pcRel

#define pcRel (   pc,
 
)    (cast_int((pc) - (p)->code) - 1)

◆ resethookcount

#define resethookcount (   L)    (L->hookcount = L->basehookcount)

函数说明

◆ luaG_addinfo()

LUAI_FUNC const char* luaG_addinfo ( lua_State L,
const char *  msg,
TString src,
int  line 
)
函数调用图:
这是这个函数的调用关系图:

◆ luaG_concaterror()

LUAI_FUNC l_noret luaG_concaterror ( lua_State L,
const TValue p1,
const TValue p2 
)
函数调用图:
这是这个函数的调用关系图:

◆ luaG_errormsg()

LUAI_FUNC l_noret luaG_errormsg ( lua_State L)
函数调用图:
这是这个函数的调用关系图:

◆ luaG_findlocal()

LUAI_FUNC const char* luaG_findlocal ( lua_State L,
CallInfo ci,
int  n,
StkId pos 
)
函数调用图:
这是这个函数的调用关系图:

◆ luaG_forerror()

LUAI_FUNC l_noret luaG_forerror ( lua_State L,
const TValue o,
const char *  what 
)
函数调用图:
这是这个函数的调用关系图:

◆ luaG_getfuncline()

LUAI_FUNC int luaG_getfuncline ( const Proto f,
int  pc 
)
函数调用图:
这是这个函数的调用关系图:

◆ luaG_opinterror()

LUAI_FUNC l_noret luaG_opinterror ( lua_State L,
const TValue p1,
const TValue p2,
const char *  msg 
)
函数调用图:
这是这个函数的调用关系图:

◆ luaG_ordererror()

LUAI_FUNC l_noret luaG_ordererror ( lua_State L,
const TValue p1,
const TValue p2 
)
函数调用图:
这是这个函数的调用关系图:

◆ luaG_runerror()

LUAI_FUNC l_noret luaG_runerror ( lua_State L,
const char *  fmt,
  ... 
)
函数调用图:
这是这个函数的调用关系图:

◆ luaG_tointerror()

LUAI_FUNC l_noret luaG_tointerror ( lua_State L,
const TValue p1,
const TValue p2 
)
函数调用图:
这是这个函数的调用关系图:

◆ luaG_traceexec()

LUAI_FUNC int luaG_traceexec ( lua_State L,
const Instruction pc 
)
函数调用图:

◆ luaG_typeerror()

LUAI_FUNC l_noret luaG_typeerror ( lua_State L,
const TValue o,
const char *  opname 
)
函数调用图:
这是这个函数的调用关系图: