]>
git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/third_party/prometheus-cpp/3rdparty/civetweb/src/third_party/lua-5.4.3/src/ldebug.h
3 ** Auxiliary functions from Debug Interface module
4 ** See Copyright Notice in lua.h
14 #define pcRel(pc, p) (cast_int((pc) - (p)->code) - 1)
17 /* Active Lua function (given call info) */
18 #define ci_func(ci) (clLvalue(s2v((ci)->func)))
21 #define resethookcount(L) (L->hookcount = L->basehookcount)
24 ** mark for entries in 'lineinfo' array that has absolute information in
25 ** 'abslineinfo' array
27 #define ABSLINEINFO (-0x80)
31 ** MAXimum number of successive Instructions WiTHout ABSolute line
32 ** information. (A power of two allows fast divisions.)
34 #if !defined(MAXIWTHABS)
35 #define MAXIWTHABS 128
39 LUAI_FUNC
int luaG_getfuncline (const Proto
*f
, int pc
);
40 LUAI_FUNC
const char *luaG_findlocal (lua_State
*L
, CallInfo
*ci
, int n
,
42 LUAI_FUNC l_noret
luaG_typeerror (lua_State
*L
, const TValue
*o
,
44 LUAI_FUNC l_noret
luaG_callerror (lua_State
*L
, const TValue
*o
);
45 LUAI_FUNC l_noret
luaG_forerror (lua_State
*L
, const TValue
*o
,
47 LUAI_FUNC l_noret
luaG_concaterror (lua_State
*L
, const TValue
*p1
,
49 LUAI_FUNC l_noret
luaG_opinterror (lua_State
*L
, const TValue
*p1
,
52 LUAI_FUNC l_noret
luaG_tointerror (lua_State
*L
, const TValue
*p1
,
54 LUAI_FUNC l_noret
luaG_ordererror (lua_State
*L
, const TValue
*p1
,
56 LUAI_FUNC l_noret
luaG_runerror (lua_State
*L
, const char *fmt
, ...);
57 LUAI_FUNC
const char *luaG_addinfo (lua_State
*L
, const char *msg
,
58 TString
*src
, int line
);
59 LUAI_FUNC l_noret
luaG_errormsg (lua_State
*L
);
60 LUAI_FUNC
int luaG_traceexec (lua_State
*L
, const Instruction
*pc
);