diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-01-06 12:42:35 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-01-06 12:42:35 -0200 |
commit | 5bcfe0c700c1001b7e94e76214be12249bc051c7 (patch) | |
tree | 379ed7cff18969f613decaf6f8442ebee5eb9590 /lua.h | |
parent | 8cd395564c9b547e2ded1d4eb67654effcb86494 (diff) | |
download | lua-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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 */ |