aboutsummaryrefslogtreecommitdiff
path: root/lstring.c
diff options
context:
space:
mode:
Diffstat (limited to 'lstring.c')
-rw-r--r--lstring.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lstring.c b/lstring.c
index ffc834b8..f70e967e 100644
--- a/lstring.c
+++ b/lstring.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstring.c,v 1.39 2000/06/15 17:01:12 roberto Exp roberto $ 2** $Id: lstring.c,v 1.40 2000/06/30 14:35:17 roberto Exp $
3** String table (keeps all strings handled by Lua) 3** String table (keeps all strings handled by Lua)
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -19,10 +19,10 @@
19 19
20 20
21void luaS_init (lua_State *L) { 21void luaS_init (lua_State *L) {
22 L->strt.size = L->udt.size = 1;
23 L->strt.nuse = L->udt.nuse = 0;
24 L->strt.hash = luaM_newvector(L, 1, TString *); 22 L->strt.hash = luaM_newvector(L, 1, TString *);
25 L->udt.hash = luaM_newvector(L, 1, TString *); 23 L->udt.hash = luaM_newvector(L, 1, TString *);
24 L->strt.size = L->udt.size = 1;
25 L->strt.nuse = L->udt.nuse = 0;
26 L->strt.hash[0] = L->udt.hash[0] = NULL; 26 L->strt.hash[0] = L->udt.hash[0] = NULL;
27} 27}
28 28