diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-11-03 13:36:01 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-11-03 13:36:01 -0200 |
commit | d356183402e214f4859cd6508964d4b5e781c598 (patch) | |
tree | 52e58bfccd3ed8001deadc3518bbcc7d2b7ba1b8 /lstring.h | |
parent | e61ee8a036e83667de9c4378e70a278876c81135 (diff) | |
download | lua-d356183402e214f4859cd6508964d4b5e781c598.tar.gz lua-d356183402e214f4859cd6508964d4b5e781c598.tar.bz2 lua-d356183402e214f4859cd6508964d4b5e781c598.zip |
new function 'luaS_hashlongstr'
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.59 2015/03/25 13:42:19 roberto Exp roberto $ | 2 | ** $Id: lstring.h,v 1.60 2015/09/08 15:41:05 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 | */ |
@@ -34,6 +34,7 @@ | |||
34 | 34 | ||
35 | 35 | ||
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 unsigned int luaS_hashlongstr (TString *ts); | ||
37 | LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b); | 38 | LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b); |
38 | LUAI_FUNC void luaS_resize (lua_State *L, int newsize); | 39 | LUAI_FUNC void luaS_resize (lua_State *L, int newsize); |
39 | LUAI_FUNC void luaS_clearcache (global_State *g); | 40 | LUAI_FUNC void luaS_clearcache (global_State *g); |