From 71144e3ff0cb81bd9b8bb56d94dc76074c638c64 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 6 May 2002 16:05:10 -0300 Subject: errors `return' int, to avoid warnings + home-made `sprintf' (first version) --- lua.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua.h') diff --git a/lua.h b/lua.h index 9ea98c11..47f50f1f 100644 --- a/lua.h +++ b/lua.h @@ -1,5 +1,5 @@ /* -** $Id: lua.h,v 1.129 2002/05/01 20:40:42 roberto Exp roberto $ +** $Id: lua.h,v 1.130 2002/05/01 20:48:12 roberto Exp roberto $ ** Lua - An Extensible Extension Language ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil ** e-mail: info@lua.org @@ -193,7 +193,7 @@ LUA_API void lua_setgcthreshold (lua_State *L, int newthreshold); ** miscellaneous functions */ -LUA_API void lua_errorobj (lua_State *L); +LUA_API int lua_errorobj (lua_State *L); LUA_API int lua_next (lua_State *L, int index); LUA_API int lua_getn (lua_State *L, int index); -- cgit v1.2.3-55-g6feb