diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-09-04 15:15:29 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-09-04 15:15:29 -0300 |
commit | 3a15c7ce4338de8414239a898f6c121294b4dde7 (patch) | |
tree | 2d449c2966afaf5d092b6d07d8f04b2b0a9b13bb /lobject.h | |
parent | 0a6b58c3aac2741cf1c84c44d168c73e3e478c4d (diff) | |
download | lua-3a15c7ce4338de8414239a898f6c121294b4dde7.tar.gz lua-3a15c7ce4338de8414239a898f6c121294b4dde7.tar.bz2 lua-3a15c7ce4338de8414239a898f6c121294b4dde7.zip |
size for array part of a table ('sizearray') changed from 'int' to
'unsigned int', which allows twice as many elements in the array part
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.h,v 2.100 2014/07/29 16:22:24 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 2.101 2014/07/30 14:00:14 roberto Exp roberto $ |
3 | ** Type definitions for Lua objects | 3 | ** Type definitions for Lua objects |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -487,7 +487,7 @@ typedef struct Table { | |||
487 | CommonHeader; | 487 | CommonHeader; |
488 | lu_byte flags; /* 1<<p means tagmethod(p) is not present */ | 488 | lu_byte flags; /* 1<<p means tagmethod(p) is not present */ |
489 | lu_byte lsizenode; /* log2 of size of `node' array */ | 489 | lu_byte lsizenode; /* log2 of size of `node' array */ |
490 | int sizearray; /* size of `array' array */ | 490 | unsigned int sizearray; /* size of `array' array */ |
491 | TValue *array; /* array part */ | 491 | TValue *array; /* array part */ |
492 | Node *node; | 492 | Node *node; |
493 | Node *lastfree; /* any free position is before this position */ | 493 | Node *lastfree; /* any free position is before this position */ |