File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 2020// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2121
2222// This file was generated with a script.
23- // Generated 2018-11-28 03:18:56.546705 UTC
24- // This header was generated with sol v2.20.6 (revision 4a0f382 )
23+ // Generated 2018-11-28 08:50:22.534324 UTC
24+ // This header was generated with sol v2.20.6 (revision 9b782ff )
2525// https://github.com/ThePhD/sol2
2626
2727#ifndef SOL_SINGLE_INCLUDE_HPP
@@ -8259,12 +8259,12 @@ namespace stack {
82598259 return false;
82608260 }
82618261#endif // Do not allow strings to be numbers
8262- int isnum = 0;
82638262#if (defined(SOL_SAFE_NUMERICS) && SOL_SAFE_NUMERICS) && !(defined(SOL_NO_CHECK_NUMBER_PRECISION) && SOL_NO_CHECK_NUMBER_PRECISION)
8263+ int isnum = 0;
82648264 const lua_Number v = lua_tonumberx(L, index, &isnum);
82658265 const bool success = isnum != 0 && static_cast<lua_Number>(llround(v)) == v;
82668266#else
8267- const bool success = isnum != 0 ;
8267+ const bool success = true ;
82688268#endif // Safe numerics and number precision checking
82698269 if (!success) {
82708270 // expected type, actual type
Original file line number Diff line number Diff line change 2020// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2121
2222// This file was generated with a script.
23- // Generated 2018-11-28 03:18:56.778088 UTC
24- // This header was generated with sol v2.20.6 (revision 4a0f382 )
23+ // Generated 2018-11-28 08:50:22.827662 UTC
24+ // This header was generated with sol v2.20.6 (revision 9b782ff )
2525// https://github.com/ThePhD/sol2
2626
2727#ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP
Original file line number Diff line number Diff line change @@ -140,12 +140,12 @@ namespace stack {
140140 return false ;
141141 }
142142#endif // Do not allow strings to be numbers
143- int isnum = 0 ;
144143#if (defined(SOL_SAFE_NUMERICS) && SOL_SAFE_NUMERICS) && !(defined(SOL_NO_CHECK_NUMBER_PRECISION) && SOL_NO_CHECK_NUMBER_PRECISION)
144+ int isnum = 0 ;
145145 const lua_Number v = lua_tonumberx (L, index, &isnum);
146146 const bool success = isnum != 0 && static_cast <lua_Number>(llround (v)) == v;
147147#else
148- const bool success = isnum != 0 ;
148+ const bool success = true ;
149149#endif // Safe numerics and number precision checking
150150 if (!success) {
151151 // expected type, actual type
You can’t perform that action at this time.
0 commit comments