pub fn gc_step_kbytes(&self, kbytes: c_int) -> Result<bool> {
        unsafe {
            check_stack(self.main_state, 3)?;
            protect_lua!(self.main_state, 0, 0, |state| {
                ffi::lua_gc(state, ffi::LUA_GCSTEP, kbytes) != 0
            })
        }
    }
/// Steps the garbage collector as though memory had been allocated.
///
/// if `kbytes` is 0, then this is the same as calling `gc_step`. Returns true if this step has
/// finished a collection cycle.
Steps the garbage collector as though memory had been allocated.
if `kbytes` is 0, then this is the same as calling `gc_step`. Returns true if this step has
finished a collection cycle.
Steps the garbage collector as though memory had been allocated . if ` kbytes ` is 0 then this is the same as calling ` gc_step ` . Returns true if this step has finished a collection cycle .
pub fn gc_step_kbytes(&self, kbytes: c_int) -> Result<bool> {
        unsafe {
            check_stack(self.main_state, 3)?;
            protect_lua!(self.main_state, 0, 0, |state| {
                ffi::lua_gc(state, ffi::LUA_GCSTEP, kbytes) != 0
            })
        }
    }
pub fn gc_step_kbytes ( & self , kbytes : c_int ) -> Result < bool > { unsafe { check_stack ( self . main_state , 3 ) ? ; protect_lua ! ( self main_state 0 0 state { ffi lua_gc ( state ffi LUA_GCSTEP kbytes ) 0 } ) } }
Steps the garbage collector as though memory had been allocated.
Steps the garbage collector as though memory had been allocated .
&self
kbytes
c_int
&self
kbytes
c_int