aboutsummaryrefslogtreecommitdiff
path: root/llimits.h
diff options
context:
space:
mode:
Diffstat (limited to 'llimits.h')
-rw-r--r--llimits.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/llimits.h b/llimits.h
index 40815404..5b5b0203 100644
--- a/llimits.h
+++ b/llimits.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llimits.h,v 1.31 2001/08/27 15:16:28 roberto Exp $ 2** $Id: llimits.h,v 1.32 2001/09/07 17:39:10 roberto Exp $
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*/
@@ -51,9 +51,6 @@ typedef unsigned long lu_mem;
51/* an integer big enough to count the number of strings in use */ 51/* an integer big enough to count the number of strings in use */
52typedef long ls_nstr; 52typedef long ls_nstr;
53 53
54/* a bitmap with one bit for each upvalue used by a function */
55typedef unsigned long ls_bitup;
56
57 54
58/* chars used as small naturals (so that `char' is reserved for characteres) */ 55/* chars used as small naturals (so that `char' is reserved for characteres) */
59typedef unsigned char lu_byte; 56typedef unsigned char lu_byte;
@@ -109,9 +106,9 @@ typedef unsigned long Instruction;
109#endif 106#endif
110 107
111 108
112/* maximum number of upvalues */ 109/* maximum number of upvalues per function */
113#ifndef MAXUPVALUES 110#ifndef MAXUPVALUES
114#define MAXUPVALUES (sizeof(ls_bitup)*CHAR_BIT) 111#define MAXUPVALUES 32
115#endif 112#endif
116 113
117 114