diff options
Diffstat (limited to '3rdparty/lua/src/lfunc.h')
-rw-r--r-- | 3rdparty/lua/src/lfunc.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/3rdparty/lua/src/lfunc.h b/3rdparty/lua/src/lfunc.h index 256d3cf90bd..2eeb0d5a489 100644 --- a/3rdparty/lua/src/lfunc.h +++ b/3rdparty/lua/src/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 { |