1use crate::type_aliases::lua_state::lua_State; 2 3#[no_mangle] 4pub unsafe fn lua_isyieldable(l: *mut lua_State) -> core::ffi::c_int { 5 if (*l).nCcalls <= (*l).baseCcalls { 6 1 7 } else { 8 0 9 } 10}