diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-02-19 10:52:42 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-02-19 10:52:42 -0300 |
commit | c86b9da02276652a22426b2a5a194ba1f070fcf4 (patch) | |
tree | a910fbba8cdae6ad2344205b6547e154b6a12dff /lstring.h | |
parent | a4c6dcf999ddea865e295ea34926a838a1f97b61 (diff) | |
download | lua-c86b9da02276652a22426b2a5a194ba1f070fcf4.tar.gz lua-c86b9da02276652a22426b2a5a194ba1f070fcf4.tar.bz2 lua-c86b9da02276652a22426b2a5a194ba1f070fcf4.zip |
userdata can have any Lua value as uservalue
Diffstat (limited to 'lstring.h')
-rw-r--r-- | lstring.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstring.h,v 1.51 2013/08/21 19:21:16 roberto Exp roberto $ | 2 | ** $Id: lstring.h,v 1.52 2013/08/21 20:09:51 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 | */ |
@@ -37,7 +37,7 @@ LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b); | |||
37 | LUAI_FUNC int luaS_eqstr (TString *a, TString *b); | 37 | LUAI_FUNC int luaS_eqstr (TString *a, TString *b); |
38 | LUAI_FUNC void luaS_resize (lua_State *L, int newsize); | 38 | LUAI_FUNC void luaS_resize (lua_State *L, int newsize); |
39 | LUAI_FUNC void luaS_remove (lua_State *L, TString *ts); | 39 | LUAI_FUNC void luaS_remove (lua_State *L, TString *ts); |
40 | LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s, Table *e); | 40 | LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s); |
41 | LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l); | 41 | LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l); |
42 | LUAI_FUNC TString *luaS_new (lua_State *L, const char *str); | 42 | LUAI_FUNC TString *luaS_new (lua_State *L, const char *str); |
43 | 43 | ||