diff options
author | Lua Team <team@lua.org> | 2015-06-03 12:00:00 +0000 |
---|---|---|
committer | repogen <> | 2015-06-03 12:00:00 +0000 |
commit | 6ddf2b3ca86471f90439976967c9e608582f0d0b (patch) | |
tree | 7fa563fe4062fcea38b86adfe8a26ac413f0d97b /src/ldebug.h | |
parent | 34c362812ab38172d3da36404ec9a85f929579c5 (diff) | |
download | lua-github-5.3.1-rc1.tar.gz |
Lua 5.3.1-rc15.3.1-rc1
Diffstat (limited to 'src/ldebug.h')
-rw-r--r-- | src/ldebug.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ldebug.h b/src/ldebug.h index 0d8966ca..0e31546b 100644 --- a/src/ldebug.h +++ b/src/ldebug.h @@ -1,5 +1,5 @@ /* -** $Id: ldebug.h,v 2.12 2014/11/10 14:46:05 roberto Exp $ +** $Id: ldebug.h,v 2.14 2015/05/22 17:45:56 roberto Exp $ ** Auxiliary functions from Debug Interface module ** See Copyright Notice in lua.h */ @@ -17,9 +17,6 @@ #define resethookcount(L) (L->hookcount = L->basehookcount) -/* Active Lua function (given call info) */ -#define ci_func(ci) (clLvalue((ci)->func)) - LUAI_FUNC l_noret luaG_typeerror (lua_State *L, const TValue *o, const char *opname); @@ -33,6 +30,8 @@ LUAI_FUNC l_noret luaG_tointerror (lua_State *L, const TValue *p1, 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 void luaG_traceexec (lua_State *L); |