LUA_GETHOOK(3) Library Functions Manual LUA_GETHOOK(3)

lua_gethookreturns the current hook function, function indicator [-0, +0, -]

#include <lua.h>

lua_Hook
lua_gethook(lua_State *L);

() returns the current hook function.

Returns the current hook function.

Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes, Lua 5.1 Reference Manual.

The lua_gethook() manual page is based on Lua Reference Manual 5.1 and was created by Sergey Bronnikov.

July 13, 2022 Debian