aboutsummaryrefslogtreecommitdiff
path: root/lstring.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-08-21 16:21:16 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-08-21 16:21:16 -0300
commitae800656c9f82b54f6fae1497022d3484ad0c920 (patch)
treee3124387f4e29fc452ebb3c15b7e6cd0c1f4bbb7 /lstring.h
parent8c688639605f3ec0b5a57d906cacc27981b066da (diff)
downloadlua-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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lstring.h b/lstring.h
index 644b5aae..e2435300 100644
--- a/lstring.h
+++ b/lstring.h
@@ -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);
38LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b); 38LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b);
39LUAI_FUNC int luaS_eqstr (TString *a, TString *b); 39LUAI_FUNC int luaS_eqstr (TString *a, TString *b);
40LUAI_FUNC void luaS_resize (lua_State *L, int newsize); 40LUAI_FUNC void luaS_resize (lua_State *L, int newsize);
41LUAI_FUNC void luaS_remove (lua_State *L, TString *ts);
41LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s, Table *e); 42LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s, Table *e);
42LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l); 43LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l);
43LUAI_FUNC TString *luaS_new (lua_State *L, const char *str); 44LUAI_FUNC TString *luaS_new (lua_State *L, const char *str);