summaryrefslogtreecommitdiff
path: root/src/lstring.h
diff options
context:
space:
mode:
authorPeter Drahoš <drahosp@gmail.com>2015-12-16 00:14:02 +0100
committerPeter Drahoš <drahosp@gmail.com>2015-12-16 00:14:02 +0100
commitfcdc5efb13f0d6c03d2868b7476b73e63a291ed3 (patch)
tree5bd844d3ae48e03d1aac8ebef3dd6209549d246e /src/lstring.h
parent94f9f6c6ed0fbc1b49ab4a896d6a587ce8815e36 (diff)
downloadlua-5.3.tar.gz
Updated to lua-5.3.25.3.2lua-5.3
Diffstat (limited to 'src/lstring.h')
-rw-r--r--src/lstring.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lstring.h b/src/lstring.h
index e746f5f..27efd20 100644
--- a/src/lstring.h
+++ b/src/lstring.h
@@ -1,5 +1,5 @@
/*
-** $Id: lstring.h,v 1.59 2015/03/25 13:42:19 roberto Exp $
+** $Id: lstring.h,v 1.61 2015/11/03 15:36:01 roberto Exp $
** String table (keep all strings handled by Lua)
** See Copyright Notice in lua.h
*/
@@ -34,6 +34,7 @@
LUAI_FUNC unsigned int luaS_hash (const char *str, size_t l, unsigned int seed);
+LUAI_FUNC unsigned int luaS_hashlongstr (TString *ts);
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);
@@ -42,6 +43,7 @@ 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);
LUAI_FUNC TString *luaS_new (lua_State *L, const char *str);
+LUAI_FUNC TString *luaS_createlngstrobj (lua_State *L, size_t l);
#endif