aboutsummaryrefslogtreecommitdiff
path: root/ldebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'ldebug.h')
-rw-r--r--ldebug.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ldebug.h b/ldebug.h
index c37c9403..5f865ee8 100644
--- a/ldebug.h
+++ b/ldebug.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.h,v 2.4 2009/04/30 17:42:21 roberto Exp roberto $ 2** $Id: ldebug.h,v 2.5 2009/06/10 16:57:53 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*/
@@ -17,6 +17,9 @@
17 17
18#define resethookcount(L) (L->hookcount = L->basehookcount) 18#define resethookcount(L) (L->hookcount = L->basehookcount)
19 19
20/* Active Lua function (given call info) */
21#define ci_func(ci) (clLvalue((ci)->func))
22
20 23
21LUAI_FUNC void luaG_typeerror (lua_State *L, const TValue *o, 24LUAI_FUNC void luaG_typeerror (lua_State *L, const TValue *o,
22 const char *opname); 25 const char *opname);