pub fn gc_set_pause(&self, pause: c_int) -> c_int {
        unsafe {
            #[cfg(not(feature = "luau"))]
            return ffi::lua_gc(self.main_state, ffi::LUA_GCSETPAUSE, pause);
            #[cfg(feature = "luau")]
            return ffi::lua_gc(self.main_state, ffi::LUA_GCSETGOAL, pause);
        }
    }
/// Sets the 'pause' value of the collector.
///
/// Returns the previous value of 'pause'. More information can be found in the Lua
/// [documentation].
///
/// For Luau this parameter sets GC goal
///
/// [documentation]: https://www.lua.org/manual/5.4/manual.html#2.5
Sets the 'pause' value of the collector.
Returns the previous value of 'pause'. More information can be found in the Lua
[documentation].

For Luau this parameter sets GC goal


Sets the ' pause ' value of the collector . Returns the previous value of ' pause ' . More information can be found in the Lua [ documentation ] . For Luau this parameter sets GC goal
pub fn gc_set_pause(&self, pause: c_int) -> c_int {
        unsafe {
            #[cfg(not(feature = "luau"))]
            return ffi::lua_gc(self.main_state, ffi::LUA_GCSETPAUSE, pause);
            #[cfg(feature = "luau")]
            return ffi::lua_gc(self.main_state, ffi::LUA_GCSETGOAL, pause);
        }
    }
pub fn gc_set_pause ( & self , pause : c_int ) -> c_int { unsafe { # [ cfg ( not ( feature " " ) ) ] return ffi :: lua_gc ( self . main_state , ffi :: LUA_GCSETPAUSE , pause ) ; # [ cfg ( feature " " ) ] return ffi :: lua_gc ( self . main_state , ffi :: LUA_GCSETGOAL , pause ) ; } }
Sets the 'pause' value of the collector.
Sets the ' pause ' value of the collector .
&self
pause
c_int
&self
pause
c_int