hook              287 lib/lua/ldblib.c   lua_Hook hook = lua_gethook(L1);
hook              288 lib/lua/ldblib.c   if (hook != NULL && hook != hookf)  /* external hook? */
hook               61 lib/lua/ldebug.c   L->hook = func;
hook               70 lib/lua/ldebug.c   return L->hook;
hook              182 lib/lua/ldo.c    lua_Hook hook = L->hook;
hook              183 lib/lua/ldo.c    if (hook && L->allowhook) {
hook              198 lib/lua/ldo.c      (*hook)(L, &ar);
hook               89 lib/lua/lstate.c   L->hook = NULL;
hook              127 lib/lua/lstate.c   L1->hook = L->hook;
hook              120 lib/lua/lstate.h   lua_Hook hook;
hook             2750 modules/luascript.c     int hook = lua_tonumber( L, lua_upvalueindex(1) );
hook             2751 modules/luascript.c     script_shoot_hook_set(hook,luaL_checknumber(L, 1));
hook             2761 modules/luascript.c     int hook = lua_tonumber( L, lua_upvalueindex(1) );
hook             2762 modules/luascript.c     lua_pushboolean(L,script_shoot_hook_ready(hook));
hook             2772 modules/luascript.c     int hook = lua_tonumber( L, lua_upvalueindex(1) );
hook             2773 modules/luascript.c     script_shoot_hook_continue(hook);
hook             2784 modules/luascript.c     int hook = lua_tonumber( L, lua_upvalueindex(1) );
hook             2785 modules/luascript.c     lua_pushnumber(L,script_shoot_hook_count(hook));
hook             3018 modules/luascript.c void register_shoot_hook_fn(lua_State* L, int hook, void *hook_fn, const char *name)
hook             3020 modules/luascript.c     lua_pushnumber( L, hook );
hook               33 modules/script_api.h     void    (*shoot_hook)(int hook);        // run a hook in the shooting process, called from hooked task
hook               25 modules/script_shoot_hook.c void script_shoot_hook_set(int hook,int timeout) {
hook               26 modules/script_shoot_hook.c     hooks[hook].timeout = timeout;
hook               32 modules/script_shoot_hook.c void script_shoot_hook_run(int hook)
hook               34 modules/script_shoot_hook.c     int timeleft = hooks[hook].timeout;
hook               35 modules/script_shoot_hook.c     hooks[hook].count++;
hook               40 modules/script_shoot_hook.c         if(hook == SCRIPT_SHOOT_HOOK_RAW) {
hook               43 modules/script_shoot_hook.c         hooks[hook].active = 1;
hook               44 modules/script_shoot_hook.c         while(timeleft > 0 && hooks[hook].active) {
hook               48 modules/script_shoot_hook.c         if(hook == SCRIPT_SHOOT_HOOK_RAW) {
hook               51 modules/script_shoot_hook.c         hooks[hook].active = 0;
hook               57 modules/script_shoot_hook.c int script_shoot_hook_ready(int hook)
hook               59 modules/script_shoot_hook.c     return hooks[hook].active;
hook               63 modules/script_shoot_hook.c void script_shoot_hook_continue(int hook)
hook               65 modules/script_shoot_hook.c     hooks[hook].active = 0;
hook               69 modules/script_shoot_hook.c int script_shoot_hook_count(int hook)
hook               71 modules/script_shoot_hook.c     return hooks[hook].count;
hook               12 modules/script_shoot_hook.h void script_shoot_hook_set(int hook,int timeout);
hook               14 modules/script_shoot_hook.h void script_shoot_hook_run(int hook);
hook               16 modules/script_shoot_hook.h int script_shoot_hook_ready(int hook);
hook               18 modules/script_shoot_hook.h void script_shoot_hook_continue(int hook);
hook               20 modules/script_shoot_hook.h int script_shoot_hook_count(int hook);
hook               49 modules/ubasic.c static void ubasic_script_shoot_hook_run(int hook) { return; }