aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-02-27 08:52:30 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-02-27 08:52:30 -0300
commit92f6e0c1bfb27cad95d99e99912e2e0c509dcc30 (patch)
tree1ab713c16652a5a4e667457041ce7364256a6b2c /lua.h
parent5cd99b82b7fc11c527929e5e95f03767f6432d8e (diff)
downloadlua-92f6e0c1bfb27cad95d99e99912e2e0c509dcc30.tar.gz
lua-92f6e0c1bfb27cad95d99e99912e2e0c509dcc30.tar.bz2
lua-92f6e0c1bfb27cad95d99e99912e2e0c509dcc30.zip
no-nonsense debug information about tail calls
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lua.h b/lua.h
index ed5bb614..b198d3d5 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.172 2003/02/18 16:13:15 roberto Exp roberto $ 2** $Id: lua.h,v 1.173 2003/02/24 16:54:20 roberto Exp roberto $
3** Lua - An Extensible Extension Language 3** Lua - An Extensible Extension Language
4** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil 4** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil
5** http://www.lua.org mailto:info@lua.org 5** http://www.lua.org mailto:info@lua.org
@@ -317,6 +317,7 @@ LUA_API int lua_pushupvalues (lua_State *L);
317#define LUA_HOOKRET 1 317#define LUA_HOOKRET 1
318#define LUA_HOOKLINE 2 318#define LUA_HOOKLINE 2
319#define LUA_HOOKCOUNT 3 319#define LUA_HOOKCOUNT 3
320#define LUA_HOOKTAILRET 4
320 321
321 322
322/* 323/*
@@ -351,7 +352,7 @@ struct lua_Debug {
351 int event; 352 int event;
352 const char *name; /* (n) */ 353 const char *name; /* (n) */
353 const char *namewhat; /* (n) `global', `local', `field', `method' */ 354 const char *namewhat; /* (n) `global', `local', `field', `method' */
354 const char *what; /* (S) `Lua' function, `C' function, Lua `main' */ 355 const char *what; /* (S) `Lua', `C', `main', `tail' */
355 const char *source; /* (S) */ 356 const char *source; /* (S) */
356 int currentline; /* (l) */ 357 int currentline; /* (l) */
357 int nups; /* (u) number of upvalues */ 358 int nups; /* (u) number of upvalues */