summaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-01-05 16:33:26 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-01-05 16:33:26 -0200
commit25189b420de22d9088229989de265f1b81872fa8 (patch)
treeb5da82ab4ad8d171e9f00eb49c15dc709375ce3a /lua.h
parentcec25167d1dee22e63c4a8500cd5520e254339c5 (diff)
downloadlua-25189b420de22d9088229989de265f1b81872fa8.tar.gz
lua-25189b420de22d9088229989de265f1b81872fa8.tar.bz2
lua-25189b420de22d9088229989de265f1b81872fa8.zip
field 'nups' in struct 'lua_Debug' changed from 'int' to 'unsigned
char' to save some space (even C functions cannot have more than maxchar upvalues).
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua.h b/lua.h
index d3fffb11..fd13b510 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.256 2009/12/22 15:32:50 roberto Exp roberto $ 2** $Id: lua.h,v 1.257 2009/12/22 16:47:00 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
@@ -404,9 +404,9 @@ struct lua_Debug {
404 const char *what; /* (S) 'Lua', 'C', 'main', 'tail' */ 404 const char *what; /* (S) 'Lua', 'C', 'main', 'tail' */
405 const char *source; /* (S) */ 405 const char *source; /* (S) */
406 int currentline; /* (l) */ 406 int currentline; /* (l) */
407 int nups; /* (u) number of upvalues */
408 int linedefined; /* (S) */ 407 int linedefined; /* (S) */
409 int lastlinedefined; /* (S) */ 408 int lastlinedefined; /* (S) */
409 unsigned char nups; /* (u) number of upvalues */
410 char istailcall; /* (t) */ 410 char istailcall; /* (t) */
411 char short_src[LUA_IDSIZE]; /* (S) */ 411 char short_src[LUA_IDSIZE]; /* (S) */
412 /* private part */ 412 /* private part */