mirror of https://github.com/rusefi/lua.git
allows larger array parts in tables (no need to restrict it to 2^26)
This commit is contained in:
parent
0a6a6b9d9d
commit
23b9ceb0a4
6
ltable.c
6
ltable.c
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
** $Id: ltable.c,v 2.51 2010/06/04 13:05:29 roberto Exp roberto $
|
** $Id: ltable.c,v 2.52 2010/06/25 12:18:10 roberto Exp roberto $
|
||||||
** Lua tables (hash)
|
** Lua tables (hash)
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
|
@ -38,8 +38,8 @@
|
||||||
/*
|
/*
|
||||||
** max size of array part is 2^MAXBITS
|
** max size of array part is 2^MAXBITS
|
||||||
*/
|
*/
|
||||||
#if LUAI_BITSINT > 26
|
#if LUAI_BITSINT >= 32
|
||||||
#define MAXBITS 26
|
#define MAXBITS 30
|
||||||
#else
|
#else
|
||||||
#define MAXBITS (LUAI_BITSINT-2)
|
#define MAXBITS (LUAI_BITSINT-2)
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue