diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-10-14 17:13:31 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-10-14 17:13:31 -0200 |
| commit | 4e9f2d13d5b6fa71ca480394e0b7e75463d4aeec (patch) | |
| tree | d11eee681ce7b01a273e489f47e070494b51de1a /lstring.h | |
| parent | b6ebbb2fee13aa223fdd12921cd0411e02db9dd0 (diff) | |
| download | lua-4e9f2d13d5b6fa71ca480394e0b7e75463d4aeec.tar.gz lua-4e9f2d13d5b6fa71ca480394e0b7e75463d4aeec.tar.bz2 lua-4e9f2d13d5b6fa71ca480394e0b7e75463d4aeec.zip | |
new implementation of hash tables.
Diffstat (limited to 'lstring.h')
| -rw-r--r-- | lstring.h | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -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 | ||
| 27 | void luaS_init (void); | 28 | void luaS_init (void); |
| 29 | void luaS_grow (stringtable *tb); | ||
| 28 | TaggedString *luaS_createudata (void *udata, int tag); | 30 | TaggedString *luaS_createudata (void *udata, int tag); |
| 29 | void luaS_freeall (void); | 31 | void luaS_freeall (void); |
| 30 | void luaS_free (TaggedString *ts); | 32 | void luaS_free (TaggedString *ts); |
