pub fn gc_collect(&self) -> Result<()> {
        unsafe {
            check_stack(self.main_state, 2)?;
            protect_lua!(self.main_state, 0, 0, fn(state) ffi::lua_gc(state, ffi::LUA_GCCOLLECT, 0))
        }
    }
/// Perform a full garbage-collection cycle.
///
/// It may be necessary to call this function twice to collect all currently unreachable
/// objects. Once to finish the current gc cycle, and once to start and finish the next cycle.
Perform a full garbage-collection cycle.
It may be necessary to call this function twice to collect all currently unreachable
objects. Once to finish the current gc cycle, and once to start and finish the next cycle.
Perform a full garbage - collection cycle . It may be necessary to call this function twice to collect all currently unreachable objects . Once to finish the current gc cycle and once to start and finish the next cycle .
pub fn gc_collect(&self) -> Result<()> {
        unsafe {
            check_stack(self.main_state, 2)?;
            protect_lua!(self.main_state, 0, 0, fn(state) ffi::lua_gc(state, ffi::LUA_GCCOLLECT, 0))
        }
    }
pub fn gc_collect ( & self ) -> Result < ( ) > { unsafe { check_stack ( self . main_state , 2 ) ? ; protect_lua ! ( self main_state 0 0 fn ( state ) ffi lua_gc ( state ffi LUA_GCCOLLECT 0 ) ) } }
Perform a full garbage-collection cycle.
Perform a full garbage - collection cycle .
&self
&self