Skip to main content

inc_c_stack

Function inc_c_stack 

Source
pub fn inc_c_stack(state: &mut LuaState) -> Result<(), LuaError>
Expand description

Increment the C-call depth counter, checking for overflow.


//   L->n_ccalls++;
//   if (l_unlikely(getCcalls(L) >= LUAI_MAXCCALLS))
//     luaE_checkcstack(L);
// }