diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-12-09 12:21:10 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-12-09 12:21:10 -0200 |
commit | 16493b777f1412beffc5b6640f27ea6c13bcb7d7 (patch) | |
tree | ae586f41e228ac837dd9a0912a8b6a43410002ca /lua.h | |
parent | cac1ebd1e06f5eb1e42141f006d360ae91f1f0f3 (diff) | |
download | lua-16493b777f1412beffc5b6640f27ea6c13bcb7d7.tar.gz lua-16493b777f1412beffc5b6640f27ea6c13bcb7d7.tar.bz2 lua-16493b777f1412beffc5b6640f27ea6c13bcb7d7.zip |
'lua_sethook' returns void
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.293 2013/08/05 16:58:28 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.294 2013/09/13 16:21:52 roberto Exp roberto $ |
3 | ** Lua - A Scripting Language | 3 | ** Lua - A Scripting Language |
4 | ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) | 4 | ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) |
5 | ** See Copyright Notice at the end of this file | 5 | ** 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); | |||
392 | LUA_API void (lua_upvaluejoin) (lua_State *L, int fidx1, int n1, | 392 | LUA_API void (lua_upvaluejoin) (lua_State *L, int fidx1, int n1, |
393 | int fidx2, int n2); | 393 | int fidx2, int n2); |
394 | 394 | ||
395 | LUA_API int (lua_sethook) (lua_State *L, lua_Hook func, int mask, int count); | 395 | LUA_API void (lua_sethook) (lua_State *L, lua_Hook func, int mask, int count); |
396 | LUA_API lua_Hook (lua_gethook) (lua_State *L); | 396 | LUA_API lua_Hook (lua_gethook) (lua_State *L); |
397 | LUA_API int (lua_gethookmask) (lua_State *L); | 397 | LUA_API int (lua_gethookmask) (lua_State *L); |
398 | LUA_API int (lua_gethookcount) (lua_State *L); | 398 | LUA_API int (lua_gethookcount) (lua_State *L); |