aboutsummaryrefslogtreecommitdiff
path: root/lstring.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-10-14 17:13:31 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-10-14 17:13:31 -0200
commit4e9f2d13d5b6fa71ca480394e0b7e75463d4aeec (patch)
treed11eee681ce7b01a273e489f47e070494b51de1a /lstring.h
parentb6ebbb2fee13aa223fdd12921cd0411e02db9dd0 (diff)
downloadlua-4e9f2d13d5b6fa71ca480394e0b7e75463d4aeec.tar.gz
lua-4e9f2d13d5b6fa71ca480394e0b7e75463d4aeec.tar.bz2
lua-4e9f2d13d5b6fa71ca480394e0b7e75463d4aeec.zip
new implementation of hash tables.
Diffstat (limited to 'lstring.h')
-rw-r--r--lstring.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lstring.h b/lstring.h
index c1323808..df0f079d 100644
--- a/lstring.h
+++ b/lstring.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstring.h,v 1.9 1999/10/04 17:51:04 roberto Exp roberto $ 2** $Id: lstring.h,v 1.10 1999/10/11 16:13:11 roberto Exp roberto $
3** String table (keep all strings handled by Lua) 3** String table (keep all strings handled by Lua)
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -9,6 +9,7 @@
9 9
10 10
11#include "lobject.h" 11#include "lobject.h"
12#include "lstate.h"
12 13
13 14
14#define NUM_HASHSTR 31 /* a prime not in array `dimensions' */ 15#define NUM_HASHSTR 31 /* a prime not in array `dimensions' */
@@ -25,6 +26,7 @@
25 26
26 27
27void luaS_init (void); 28void luaS_init (void);
29void luaS_grow (stringtable *tb);
28TaggedString *luaS_createudata (void *udata, int tag); 30TaggedString *luaS_createudata (void *udata, int tag);
29void luaS_freeall (void); 31void luaS_freeall (void);
30void luaS_free (TaggedString *ts); 32void luaS_free (TaggedString *ts);