aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-01-06 12:42:35 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-01-06 12:42:35 -0200
commit5bcfe0c700c1001b7e94e76214be12249bc051c7 (patch)
tree379ed7cff18969f613decaf6f8442ebee5eb9590 /lua.h
parent8cd395564c9b547e2ded1d4eb67654effcb86494 (diff)
downloadlua-5bcfe0c700c1001b7e94e76214be12249bc051c7.tar.gz
lua-5bcfe0c700c1001b7e94e76214be12249bc051c7.tar.bz2
lua-5bcfe0c700c1001b7e94e76214be12249bc051c7.zip
new debug info 'isvararg' and 'nparams'
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lua.h b/lua.h
index fd13b510..0704ea71 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.257 2009/12/22 16:47:00 roberto Exp roberto $ 2** $Id: lua.h,v 1.258 2010/01/05 18:33:26 roberto Exp roberto $
3** Lua - A Scripting Language 3** Lua - A Scripting Language
4** Lua.org, PUC-Rio, Brazil (http://www.lua.org) 4** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
5** See Copyright Notice at the end of this file 5** See Copyright Notice at the end of this file
@@ -407,6 +407,8 @@ struct lua_Debug {
407 int linedefined; /* (S) */ 407 int linedefined; /* (S) */
408 int lastlinedefined; /* (S) */ 408 int lastlinedefined; /* (S) */
409 unsigned char nups; /* (u) number of upvalues */ 409 unsigned char nups; /* (u) number of upvalues */
410 unsigned char nparams;/* (u) number of parameters */
411 char isvararg; /* (u) */
410 char istailcall; /* (t) */ 412 char istailcall; /* (t) */
411 char short_src[LUA_IDSIZE]; /* (S) */ 413 char short_src[LUA_IDSIZE]; /* (S) */
412 /* private part */ 414 /* private part */