diff options
| author | Lua Team <team@lua.org> | 2015-06-03 12:00:00 +0000 |
|---|---|---|
| committer | repogen <> | 2015-06-03 12:00:00 +0000 |
| commit | 6ddf2b3ca86471f90439976967c9e608582f0d0b (patch) | |
| tree | 7fa563fe4062fcea38b86adfe8a26ac413f0d97b /src/lfunc.h | |
| parent | 34c362812ab38172d3da36404ec9a85f929579c5 (diff) | |
| download | lua-github-5.3.1-rc1.tar.gz | |
Lua 5.3.1-rc15.3.1-rc1
Diffstat (limited to 'src/lfunc.h')
| -rw-r--r-- | src/lfunc.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lfunc.h b/src/lfunc.h index 256d3cf9..2eeb0d5a 100644 --- a/src/lfunc.h +++ b/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 { |
