diff options
Diffstat (limited to 'plugins/MirLua/src/lua/lfunc.h')
-rw-r--r-- | plugins/MirLua/src/lua/lfunc.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/plugins/MirLua/src/lua/lfunc.h b/plugins/MirLua/src/lua/lfunc.h index 256d3cf90b..2eeb0d5a48 100644 --- a/plugins/MirLua/src/lua/lfunc.h +++ b/plugins/MirLua/src/lua/lfunc.h @@ -1,5 +1,5 @@ /* -** $Id: lfunc.h,v 2.14 2014/06/19 18:27:20 roberto Exp $ +** $Id: lfunc.h,v 2.15 2015/01/13 15:49:11 roberto Exp $ ** Auxiliary functions to manipulate prototypes and closures ** See Copyright Notice in lua.h */ @@ -23,6 +23,13 @@ /* +** maximum number of upvalues in a closure (both C and Lua). (Value +** must fit in a VM register.) +*/ +#define MAXUPVAL 255 + + +/* ** Upvalues for Lua closures */ struct UpVal { |