From ffc5f78229be51a31a8a75c09d5f8d35fb7654bb Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 22 Jun 2007 12:39:34 -0300 Subject: detail --- lauxlib.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lauxlib.c') diff --git a/lauxlib.c b/lauxlib.c index 53d0ae5d..27adcb17 100644 --- a/lauxlib.c +++ b/lauxlib.c @@ -1,5 +1,5 @@ /* -** $Id: lauxlib.c,v 1.169 2007/06/21 14:09:59 roberto Exp roberto $ +** $Id: lauxlib.c,v 1.170 2007/06/22 15:33:54 roberto Exp roberto $ ** Auxiliary functions for building Lua libraries ** See Copyright Notice in lua.h */ @@ -114,8 +114,8 @@ static int countlevels (lua_State *L) { } -LUALIB_API const char *luaL_traceback (lua_State *L, lua_State *L1, - const char *msg, int level) { +LUALIB_API void luaL_traceback (lua_State *L, lua_State *L1, + const char *msg, int level) { lua_Debug ar; int top = lua_gettop(L); int numlevels = countlevels(L1); @@ -138,7 +138,6 @@ LUALIB_API const char *luaL_traceback (lua_State *L, lua_State *L1, } } lua_concat(L, lua_gettop(L) - top); - return lua_tostring(L, -1); } /* }====================================================== */ -- cgit v1.2.3-55-g6feb