diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-03-25 10:42:19 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-03-25 10:42:19 -0300 |
commit | b436ed58a3416c2e1936bdce880ac09925401a87 (patch) | |
tree | e3c00e30d5260fc54076e8e247e19efc909e4279 /lstring.h | |
parent | 2b37f2150ef2630d594628d94b261cd9e6173e5a (diff) | |
download | lua-b436ed58a3416c2e1936bdce880ac09925401a87.tar.gz lua-b436ed58a3416c2e1936bdce880ac09925401a87.tar.bz2 lua-b436ed58a3416c2e1936bdce880ac09925401a87.zip |
'clearapihash' -> 'luaS_clearcache' and moved to 'lstring.c' (which
keeps all code related to this cache)
Diffstat (limited to 'lstring.h')
-rw-r--r-- | lstring.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstring.h,v 1.57 2015/01/16 16:54:37 roberto Exp roberto $ | 2 | ** $Id: lstring.h,v 1.58 2015/03/04 13:31:21 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 | */ |
@@ -36,6 +36,7 @@ | |||
36 | LUAI_FUNC unsigned int luaS_hash (const char *str, size_t l, unsigned int seed); | 36 | LUAI_FUNC unsigned int luaS_hash (const char *str, size_t l, unsigned int seed); |
37 | LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b); | 37 | LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b); |
38 | LUAI_FUNC void luaS_resize (lua_State *L, int newsize); | 38 | LUAI_FUNC void luaS_resize (lua_State *L, int newsize); |
39 | LUAI_FUNC void luaS_clearcache (global_State *g); | ||
39 | LUAI_FUNC void luaS_init (lua_State *L); | 40 | LUAI_FUNC void luaS_init (lua_State *L); |
40 | LUAI_FUNC void luaS_remove (lua_State *L, TString *ts); | 41 | LUAI_FUNC void luaS_remove (lua_State *L, TString *ts); |
41 | LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s); | 42 | LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s); |