diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-08-22 12:21:48 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-08-22 12:21:48 -0300 |
commit | 33c49f7fa03cf7e3bf7bb3aa697dc567d910c661 (patch) | |
tree | 15af62f7b744bcb0e5abfc6fd935af592cbb5da2 /lstate.h | |
parent | 0df6635711230ab306710056f621b6da59fac5ea (diff) | |
download | lua-33c49f7fa03cf7e3bf7bb3aa697dc567d910c661.tar.gz lua-33c49f7fa03cf7e3bf7bb3aa697dc567d910c661.tar.bz2 lua-33c49f7fa03cf7e3bf7bb3aa697dc567d910c661.zip |
some details over new implementation of string table
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 2.86 2013/08/21 19:21:16 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 2.87 2013/08/21 20:09:51 roberto Exp roberto $ |
3 | ** Global State | 3 | ** Global State |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -59,9 +59,9 @@ struct lua_longjmp; /* defined in ldo.c */ | |||
59 | 59 | ||
60 | typedef struct stringtable { | 60 | typedef struct stringtable { |
61 | TString **hash; | 61 | TString **hash; |
62 | unsigned int nuse; /* number of elements */ | 62 | int nuse; /* number of elements */ |
63 | unsigned int empty; /* number of available empty slots */ | 63 | int empty; /* number of available empty slots */ |
64 | unsigned int size; | 64 | int size; |
65 | } stringtable; | 65 | } stringtable; |
66 | 66 | ||
67 | 67 | ||