summaryrefslogtreecommitdiff
path: root/libs/liblua/src/lfunc.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/liblua/src/lfunc.h')
-rw-r--r--libs/liblua/src/lfunc.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/libs/liblua/src/lfunc.h b/libs/liblua/src/lfunc.h
index 256d3cf90b..2eeb0d5a48 100644
--- a/libs/liblua/src/lfunc.h
+++ b/libs/liblua/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 {