From 16493b777f1412beffc5b6640f27ea6c13bcb7d7 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 9 Dec 2013 12:21:10 -0200 Subject: 'lua_sethook' returns void --- lua.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua.h') diff --git a/lua.h b/lua.h index 93ba9b0b..f98513ac 100644 --- a/lua.h +++ b/lua.h @@ -1,5 +1,5 @@ /* -** $Id: lua.h,v 1.293 2013/08/05 16:58:28 roberto Exp roberto $ +** $Id: lua.h,v 1.294 2013/09/13 16:21:52 roberto Exp roberto $ ** Lua - A Scripting Language ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) ** See Copyright Notice at the end of this file @@ -392,7 +392,7 @@ LUA_API void *(lua_upvalueid) (lua_State *L, int fidx, int n); LUA_API void (lua_upvaluejoin) (lua_State *L, int fidx1, int n1, int fidx2, int n2); -LUA_API int (lua_sethook) (lua_State *L, lua_Hook func, int mask, int count); +LUA_API void (lua_sethook) (lua_State *L, lua_Hook func, int mask, int count); LUA_API lua_Hook (lua_gethook) (lua_State *L); LUA_API int (lua_gethookmask) (lua_State *L); LUA_API int (lua_gethookcount) (lua_State *L); -- cgit v1.2.3-55-g6feb