summaryrefslogtreecommitdiff
path: root/src/lstring.h
diff options
context:
space:
mode:
authorLua Team <team@lua.org>2015-06-03 12:00:00 +0000
committerrepogen <>2015-06-03 12:00:00 +0000
commit6ddf2b3ca86471f90439976967c9e608582f0d0b (patch)
tree7fa563fe4062fcea38b86adfe8a26ac413f0d97b /src/lstring.h
parent34c362812ab38172d3da36404ec9a85f929579c5 (diff)
downloadlua-github-5.3.1-rc1.tar.gz
Lua 5.3.1-rc15.3.1-rc1
Diffstat (limited to 'src/lstring.h')
-rw-r--r--src/lstring.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lstring.h b/src/lstring.h
index d3f04caf..e746f5fc 100644
--- a/src/lstring.h
+++ b/src/lstring.h
@@ -1,5 +1,5 @@
/*
-** $Id: lstring.h,v 1.56 2014/07/18 14:46:47 roberto Exp $
+** $Id: lstring.h,v 1.59 2015/03/25 13:42:19 roberto Exp $
** String table (keep all strings handled by Lua)
** See Copyright Notice in lua.h
*/
@@ -13,7 +13,6 @@
#define sizelstring(l) (sizeof(union UTString) + ((l) + 1) * sizeof(char))
-#define sizestring(s) sizelstring((s)->len)
#define sizeludata(l) (sizeof(union UUdata) + (l))
#define sizeudata(u) sizeludata((u)->len)
@@ -37,6 +36,8 @@
LUAI_FUNC unsigned int luaS_hash (const char *str, size_t l, unsigned int seed);
LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b);
LUAI_FUNC void luaS_resize (lua_State *L, int newsize);
+LUAI_FUNC void luaS_clearcache (global_State *g);
+LUAI_FUNC void luaS_init (lua_State *L);
LUAI_FUNC void luaS_remove (lua_State *L, TString *ts);
LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s);
LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l);