aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-09-05 16:31:49 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-09-05 16:31:49 -0300
commitd3bbb34c24cfe3e5296c6a5d3faacf6c8679fe70 (patch)
treeb245be2289ab4fdbb558a0f52a81dd5631871ee3 /lstate.h
parent0ad15fc10041f59b5466fe902637b1a2fb64565d (diff)
downloadlua-d3bbb34c24cfe3e5296c6a5d3faacf6c8679fe70.tar.gz
lua-d3bbb34c24cfe3e5296c6a5d3faacf6c8679fe70.tar.bz2
lua-d3bbb34c24cfe3e5296c6a5d3faacf6c8679fe70.zip
back to open hashing for the string table (but with a different
'hnext' field, to strings are still collected like all other objects)
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lstate.h b/lstate.h
index 38bbb982..40a23643 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.92 2013/08/30 19:14:26 roberto Exp roberto $ 2** $Id: lstate.h,v 2.93 2013/09/03 15:37:10 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*/
@@ -53,7 +53,6 @@ struct lua_longjmp; /* defined in ldo.c */
53typedef struct stringtable { 53typedef struct stringtable {
54 TString **hash; 54 TString **hash;
55 int nuse; /* number of elements */ 55 int nuse; /* number of elements */
56 int empty; /* number of available empty slots */
57 int size; 56 int size;
58} stringtable; 57} stringtable;
59 58