From daddc57abd31e30215922a716cb6d26422f3658b Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 3 Jan 2008 15:07:59 -0200 Subject: luaL_tostring -> luaL_tolstring (more generic) --- lbaselib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lbaselib.c') diff --git a/lbaselib.c b/lbaselib.c index 32fc8cb8..f494f8be 100644 --- a/lbaselib.c +++ b/lbaselib.c @@ -1,5 +1,5 @@ /* -** $Id: lbaselib.c,v 1.200 2007/10/25 19:31:05 roberto Exp roberto $ +** $Id: lbaselib.c,v 1.201 2007/11/28 18:25:17 roberto Exp roberto $ ** Basic library ** See Copyright Notice in lua.h */ @@ -405,7 +405,7 @@ static int luaB_xpcall (lua_State *L) { static int luaB_tostring (lua_State *L) { luaL_checkany(L, 1); - luaL_tostring(L, 1); + luaL_tolstring(L, 1, NULL); return 1; } -- cgit v1.2.3-55-g6feb