mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Actually use the correct value instead of pushing without saving the file
- I promise - I am smarter than I commit
This commit is contained in:
parent
e4f588d18c
commit
e89b6ac2e7
|
@ -643,7 +643,7 @@ namespace sol {
|
|||
(void)mode;
|
||||
return true;
|
||||
#endif
|
||||
return mode == gc_mode::default;
|
||||
return mode == gc_mode::default_value;
|
||||
}
|
||||
|
||||
bool is_gc_on() const {
|
||||
|
@ -700,7 +700,7 @@ namespace sol {
|
|||
lua_gc(lua_state(), LUA_GCSETSTEPMUL, step_multiplier);
|
||||
(void)step_byte_size; // means nothing in older versions
|
||||
#endif
|
||||
return gc_mode::default;
|
||||
return gc_mode::default_value;
|
||||
}
|
||||
|
||||
// Returns the old GC mode. Check support using the supports_gc_mode function.
|
||||
|
@ -716,7 +716,7 @@ namespace sol {
|
|||
return gc_mode::incremental;
|
||||
}
|
||||
#endif
|
||||
return gc_mode::default;
|
||||
return gc_mode::default_value;
|
||||
}
|
||||
|
||||
operator lua_State*() const {
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
// This file was generated with a script.
|
||||
// Generated 2020-09-09 00:16:38.980853 UTC
|
||||
// This header was generated with sol v3.2.1 (revision 275ae2c)
|
||||
// Generated 2020-09-09 00:46:22.609996 UTC
|
||||
// This header was generated with sol v3.2.1 (revision e4f588d)
|
||||
// https://github.com/ThePhD/sol2
|
||||
|
||||
#ifndef SOL_SINGLE_CONFIG_HPP
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
// This file was generated with a script.
|
||||
// Generated 2020-09-09 00:16:38.974853 UTC
|
||||
// This header was generated with sol v3.2.1 (revision 275ae2c)
|
||||
// Generated 2020-09-09 00:46:22.606997 UTC
|
||||
// This header was generated with sol v3.2.1 (revision e4f588d)
|
||||
// https://github.com/ThePhD/sol2
|
||||
|
||||
#ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
// This file was generated with a script.
|
||||
// Generated 2020-09-09 00:16:38.641853 UTC
|
||||
// This header was generated with sol v3.2.1 (revision 275ae2c)
|
||||
// Generated 2020-09-09 00:46:22.298307 UTC
|
||||
// This header was generated with sol v3.2.1 (revision e4f588d)
|
||||
// https://github.com/ThePhD/sol2
|
||||
|
||||
#ifndef SOL_SINGLE_INCLUDE_HPP
|
||||
|
@ -25435,7 +25435,7 @@ namespace sol {
|
|||
(void)mode;
|
||||
return true;
|
||||
#endif
|
||||
return mode == gc_mode::default;
|
||||
return mode == gc_mode::default_value;
|
||||
}
|
||||
|
||||
bool is_gc_on() const {
|
||||
|
@ -25492,7 +25492,7 @@ namespace sol {
|
|||
lua_gc(lua_state(), LUA_GCSETSTEPMUL, step_multiplier);
|
||||
(void)step_byte_size; // means nothing in older versions
|
||||
#endif
|
||||
return gc_mode::default;
|
||||
return gc_mode::default_value;
|
||||
}
|
||||
|
||||
// Returns the old GC mode. Check support using the supports_gc_mode function.
|
||||
|
@ -25508,7 +25508,7 @@ namespace sol {
|
|||
return gc_mode::incremental;
|
||||
}
|
||||
#endif
|
||||
return gc_mode::default;
|
||||
return gc_mode::default_value;
|
||||
}
|
||||
|
||||
operator lua_State*() const {
|
||||
|
|
Loading…
Reference in New Issue
Block a user