LUA_GETHOOKCOUNT(3) Library Functions Manual LUA_GETHOOKCOUNT(3)

lua_gethookcount — returns the current hook count

#include <lua.h>

int
lua_gethookcount(lua_State *L);

Function indicator: [-0, +0, -].

() returns the current hook count.

Returns the current hook count.

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

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

July 13, 2022 Debian