| 3026 | |
| 3027 | #ifdef NHL_SANDBOX |
| 3028 | staticfn void |
| 3029 | nhl_hookfn(lua_State *L, lua_Debug *ar UNUSED) |
| 3030 | { |
| 3031 | nhl_user_data *nud; |
| 3032 | |
| 3033 | (void) lua_getallocf(L, (void **) &nud); |
| 3034 | |
| 3035 | if (nud->steps <= NHL_SB_STEPSIZE) |
| 3036 | longjmp(nud->jb, 1); |
| 3037 | |
| 3038 | nud->steps -= NHL_SB_STEPSIZE; |
| 3039 | nud->statctr++; |
| 3040 | } |
| 3041 | #endif |
| 3042 | |
| 3043 | staticfn lua_State * |
nothing calls this directly
no outgoing calls
no test coverage detected