aboutsummaryrefslogtreecommitdiff
path: root/lstring.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-03-25 10:42:19 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-03-25 10:42:19 -0300
commitb436ed58a3416c2e1936bdce880ac09925401a87 (patch)
treee3c00e30d5260fc54076e8e247e19efc909e4279 /lstring.h
parent2b37f2150ef2630d594628d94b261cd9e6173e5a (diff)
downloadlua-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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lstring.h b/lstring.h
index 2b06afaf..cba3cb28 100644
--- a/lstring.h
+++ b/lstring.h
@@ -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 @@
36LUAI_FUNC unsigned int luaS_hash (const char *str, size_t l, unsigned int seed); 36LUAI_FUNC unsigned int luaS_hash (const char *str, size_t l, unsigned int seed);
37LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b); 37LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b);
38LUAI_FUNC void luaS_resize (lua_State *L, int newsize); 38LUAI_FUNC void luaS_resize (lua_State *L, int newsize);
39LUAI_FUNC void luaS_clearcache (global_State *g);
39LUAI_FUNC void luaS_init (lua_State *L); 40LUAI_FUNC void luaS_init (lua_State *L);
40LUAI_FUNC void luaS_remove (lua_State *L, TString *ts); 41LUAI_FUNC void luaS_remove (lua_State *L, TString *ts);
41LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s); 42LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s);