diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-08-21 16:21:16 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-08-21 16:21:16 -0300 |
commit | ae800656c9f82b54f6fae1497022d3484ad0c920 (patch) | |
tree | e3124387f4e29fc452ebb3c15b7e6cd0c1f4bbb7 /lstring.h | |
parent | 8c688639605f3ec0b5a57d906cacc27981b066da (diff) | |
download | lua-ae800656c9f82b54f6fae1497022d3484ad0c920.tar.gz lua-ae800656c9f82b54f6fae1497022d3484ad0c920.tar.bz2 lua-ae800656c9f82b54f6fae1497022d3484ad0c920.zip |
change in string table: string table is now independent of GC lists; all
strings live in 'normal' GC lists
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.49 2012/02/01 21:57:15 roberto Exp roberto $ | 2 | ** $Id: lstring.h,v 1.50 2013/08/16 18:55:49 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 | */ |
@@ -38,6 +38,7 @@ LUAI_FUNC unsigned int luaS_hash (const char *str, size_t l, unsigned int seed); | |||
38 | LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b); | 38 | LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b); |
39 | LUAI_FUNC int luaS_eqstr (TString *a, TString *b); | 39 | LUAI_FUNC int luaS_eqstr (TString *a, TString *b); |
40 | LUAI_FUNC void luaS_resize (lua_State *L, int newsize); | 40 | LUAI_FUNC void luaS_resize (lua_State *L, int newsize); |
41 | LUAI_FUNC void luaS_remove (lua_State *L, TString *ts); | ||
41 | LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s, Table *e); | 42 | LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s, Table *e); |
42 | LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l); | 43 | LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l); |
43 | LUAI_FUNC TString *luaS_new (lua_State *L, const char *str); | 44 | LUAI_FUNC TString *luaS_new (lua_State *L, const char *str); |