aboutsummaryrefslogtreecommitdiff
path: root/ldebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'ldebug.h')
-rw-r--r--ldebug.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ldebug.h b/ldebug.h
index 4590aeba..1aafbb72 100644
--- a/ldebug.h
+++ b/ldebug.h
@@ -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
17void luaG_typeerror (lua_State *L, const TObject *o, const char *opname); 19void luaG_typeerror (lua_State *L, const TObject *o, const char *opname);
18void luaG_concaterror (lua_State *L, StkId p1, StkId p2); 20void luaG_concaterror (lua_State *L, StkId p1, StkId p2);
19void luaG_aritherror (lua_State *L, StkId p1, const TObject *p2); 21void luaG_aritherror (lua_State *L, StkId p1, const TObject *p2);