diff options
| -rw-r--r-- | lfunc.h | 9 | ||||
| -rw-r--r-- | llimits.h | 7 |
2 files changed, 9 insertions, 7 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lfunc.h,v 2.13 2014/02/18 13:39:37 roberto Exp roberto $ | 2 | ** $Id: lfunc.h,v 2.14 2014/06/19 18:27:20 roberto Exp roberto $ |
| 3 | ** Auxiliary functions to manipulate prototypes and closures | 3 | ** Auxiliary functions to manipulate prototypes and closures |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -23,6 +23,13 @@ | |||
| 23 | 23 | ||
| 24 | 24 | ||
| 25 | /* | 25 | /* |
| 26 | ** maximum number of upvalues in a closure (both C and Lua). (Value | ||
| 27 | ** must fit in a VM register.) | ||
| 28 | */ | ||
| 29 | #define MAXUPVAL 255 | ||
| 30 | |||
| 31 | |||
| 32 | /* | ||
| 26 | ** Upvalues for Lua closures | 33 | ** Upvalues for Lua closures |
| 27 | */ | 34 | */ |
| 28 | struct UpVal { | 35 | struct UpVal { |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: llimits.h,v 1.124 2014/11/02 19:33:33 roberto Exp roberto $ | 2 | ** $Id: llimits.h,v 1.125 2014/12/19 13:30:23 roberto Exp roberto $ |
| 3 | ** Limits, basic types, and some other 'installation-dependent' definitions | 3 | ** Limits, basic types, and some other 'installation-dependent' definitions |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -149,11 +149,6 @@ typedef LUAI_UACINT l_uacInt; | |||
| 149 | #define LUAI_MAXCCALLS 200 | 149 | #define LUAI_MAXCCALLS 200 |
| 150 | #endif | 150 | #endif |
| 151 | 151 | ||
| 152 | /* | ||
| 153 | ** maximum number of upvalues in a closure (both C and Lua). (Value | ||
| 154 | ** must fit in an unsigned char.) | ||
| 155 | */ | ||
| 156 | #define MAXUPVAL UCHAR_MAX | ||
| 157 | 152 | ||
| 158 | 153 | ||
| 159 | /* | 154 | /* |
