Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/extern/lua/lstring.h
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2025-01-05 15:16:15 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2025-01-05 15:16:15 +1100
commit9bc12f5f97f6774e6eeeb3ef577e026cc8d03357 (patch)
tree7b2909e6869cf1dff081e114e9693c8736b1480e /source/extern/lua/lstring.h
parent41f0b9001f60c59691ec04d937e6a9ef424794f1 (diff)
Lua 5.3.6
Diffstat (limited to 'source/extern/lua/lstring.h')
-rw-r--r--source/extern/lua/lstring.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/extern/lua/lstring.h b/source/extern/lua/lstring.h
index e746f5f..d612abd 100644
--- a/source/extern/lua/lstring.h
+++ b/source/extern/lua/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.1.1 2017/04/19 17:20:42 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