From c86b9da02276652a22426b2a5a194ba1f070fcf4 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 19 Feb 2014 10:52:42 -0300 Subject: userdata can have any Lua value as uservalue --- lstring.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lstring.h') diff --git a/lstring.h b/lstring.h index e6f08106..c9fc5d63 100644 --- a/lstring.h +++ b/lstring.h @@ -1,5 +1,5 @@ /* -** $Id: lstring.h,v 1.51 2013/08/21 19:21:16 roberto Exp roberto $ +** $Id: lstring.h,v 1.52 2013/08/21 20:09:51 roberto Exp roberto $ ** String table (keep all strings handled by Lua) ** See Copyright Notice in lua.h */ @@ -37,7 +37,7 @@ LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b); LUAI_FUNC int luaS_eqstr (TString *a, TString *b); LUAI_FUNC void luaS_resize (lua_State *L, int newsize); LUAI_FUNC void luaS_remove (lua_State *L, TString *ts); -LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s, Table *e); +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); -- cgit v1.2.3-55-g6feb