lua_Hook lua_gethook (lua_State *L);

Returns the current hook function.