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:
ThePhD 2020-09-08 20:47:39 -04:00
parent e4f588d18c
commit e89b6ac2e7
No known key found for this signature in database
GPG Key ID: 1509DB1C0F702BFA
4 changed files with 12 additions and 12 deletions

View File

@ -643,7 +643,7 @@ namespace sol {
(void)mode; (void)mode;
return true; return true;
#endif #endif
return mode == gc_mode::default; return mode == gc_mode::default_value;
} }
bool is_gc_on() const { bool is_gc_on() const {
@ -700,7 +700,7 @@ namespace sol {
lua_gc(lua_state(), LUA_GCSETSTEPMUL, step_multiplier); lua_gc(lua_state(), LUA_GCSETSTEPMUL, step_multiplier);
(void)step_byte_size; // means nothing in older versions (void)step_byte_size; // means nothing in older versions
#endif #endif
return gc_mode::default; return gc_mode::default_value;
} }
// Returns the old GC mode. Check support using the supports_gc_mode function. // Returns the old GC mode. Check support using the supports_gc_mode function.
@ -716,7 +716,7 @@ namespace sol {
return gc_mode::incremental; return gc_mode::incremental;
} }
#endif #endif
return gc_mode::default; return gc_mode::default_value;
} }
operator lua_State*() const { operator lua_State*() const {

View File

@ -20,8 +20,8 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// This file was generated with a script. // This file was generated with a script.
// Generated 2020-09-09 00:16:38.980853 UTC // Generated 2020-09-09 00:46:22.609996 UTC
// This header was generated with sol v3.2.1 (revision 275ae2c) // This header was generated with sol v3.2.1 (revision e4f588d)
// https://github.com/ThePhD/sol2 // https://github.com/ThePhD/sol2
#ifndef SOL_SINGLE_CONFIG_HPP #ifndef SOL_SINGLE_CONFIG_HPP

View File

@ -20,8 +20,8 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// This file was generated with a script. // This file was generated with a script.
// Generated 2020-09-09 00:16:38.974853 UTC // Generated 2020-09-09 00:46:22.606997 UTC
// This header was generated with sol v3.2.1 (revision 275ae2c) // This header was generated with sol v3.2.1 (revision e4f588d)
// https://github.com/ThePhD/sol2 // https://github.com/ThePhD/sol2
#ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP #ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP

View File

@ -20,8 +20,8 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// This file was generated with a script. // This file was generated with a script.
// Generated 2020-09-09 00:16:38.641853 UTC // Generated 2020-09-09 00:46:22.298307 UTC
// This header was generated with sol v3.2.1 (revision 275ae2c) // This header was generated with sol v3.2.1 (revision e4f588d)
// https://github.com/ThePhD/sol2 // https://github.com/ThePhD/sol2
#ifndef SOL_SINGLE_INCLUDE_HPP #ifndef SOL_SINGLE_INCLUDE_HPP
@ -25435,7 +25435,7 @@ namespace sol {
(void)mode; (void)mode;
return true; return true;
#endif #endif
return mode == gc_mode::default; return mode == gc_mode::default_value;
} }
bool is_gc_on() const { bool is_gc_on() const {
@ -25492,7 +25492,7 @@ namespace sol {
lua_gc(lua_state(), LUA_GCSETSTEPMUL, step_multiplier); lua_gc(lua_state(), LUA_GCSETSTEPMUL, step_multiplier);
(void)step_byte_size; // means nothing in older versions (void)step_byte_size; // means nothing in older versions
#endif #endif
return gc_mode::default; return gc_mode::default_value;
} }
// Returns the old GC mode. Check support using the supports_gc_mode function. // Returns the old GC mode. Check support using the supports_gc_mode function.
@ -25508,7 +25508,7 @@ namespace sol {
return gc_mode::incremental; return gc_mode::incremental;
} }
#endif #endif
return gc_mode::default; return gc_mode::default_value;
} }
operator lua_State*() const { operator lua_State*() const {