aboutsummaryrefslogtreecommitdiff
path: root/lbaselib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2008-01-03 15:07:59 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2008-01-03 15:07:59 -0200
commitdaddc57abd31e30215922a716cb6d26422f3658b (patch)
tree9b1a5d628c40d5551595d9349e09e7aba56a88fc /lbaselib.c
parentf9cdd09191e01ef38da674ef66af408d7e309d9f (diff)
downloadlua-daddc57abd31e30215922a716cb6d26422f3658b.tar.gz
lua-daddc57abd31e30215922a716cb6d26422f3658b.tar.bz2
lua-daddc57abd31e30215922a716cb6d26422f3658b.zip
luaL_tostring -> luaL_tolstring (more generic)
Diffstat (limited to 'lbaselib.c')
-rw-r--r--lbaselib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lbaselib.c b/lbaselib.c
index 32fc8cb8..f494f8be 100644
--- a/lbaselib.c
+++ b/lbaselib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lbaselib.c,v 1.200 2007/10/25 19:31:05 roberto Exp roberto $ 2** $Id: lbaselib.c,v 1.201 2007/11/28 18:25:17 roberto Exp roberto $
3** Basic library 3** Basic library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -405,7 +405,7 @@ static int luaB_xpcall (lua_State *L) {
405 405
406static int luaB_tostring (lua_State *L) { 406static int luaB_tostring (lua_State *L) {
407 luaL_checkany(L, 1); 407 luaL_checkany(L, 1);
408 luaL_tostring(L, 1); 408 luaL_tolstring(L, 1, NULL);
409 return 1; 409 return 1;
410} 410}
411 411