diff options
Diffstat (limited to 'ldebug.h')
-rw-r--r-- | ldebug.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldebug.h,v 1.18 2002/03/25 17:47:14 roberto Exp roberto $ | 2 | ** $Id: ldebug.h,v 1.19 2002/04/10 12:11:07 roberto Exp roberto $ |
3 | ** Auxiliary functions from Debug Interface module | 3 | ** Auxiliary functions from Debug Interface module |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -14,6 +14,8 @@ | |||
14 | 14 | ||
15 | #define pcRel(pc, p) (cast(int, (pc) - (p)->code) - 1) | 15 | #define pcRel(pc, p) (cast(int, (pc) - (p)->code) - 1) |
16 | 16 | ||
17 | #define getline(f,pc) (((f)->lineinfo) ? (f)->lineinfo[pc] : 0) | ||
18 | |||
17 | void luaG_typeerror (lua_State *L, const TObject *o, const char *opname); | 19 | void luaG_typeerror (lua_State *L, const TObject *o, const char *opname); |
18 | void luaG_concaterror (lua_State *L, StkId p1, StkId p2); | 20 | void luaG_concaterror (lua_State *L, StkId p1, StkId p2); |
19 | void luaG_aritherror (lua_State *L, StkId p1, const TObject *p2); | 21 | void luaG_aritherror (lua_State *L, StkId p1, const TObject *p2); |