From 2f220b6eb2d06664671b3b801e7716013915176e Mon Sep 17 00:00:00 2001 From: ThePhD Date: Sun, 4 Mar 2018 10:57:28 -0500 Subject: [PATCH] update single --- docs/source/conf.py | 2 +- single/sol/sol.hpp | 10 +++++----- single/sol/sol_forward.hpp | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 3c5c4906..57bb41ce 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -61,7 +61,7 @@ author = 'ThePhD' # The short X.Y version. version = '2.19' # The full version, including alpha/beta/rc tags. -release = '2.19.4' +release = '2.19.5' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/single/sol/sol.hpp b/single/sol/sol.hpp index 28c1780e..bf24545c 100644 --- a/single/sol/sol.hpp +++ b/single/sol/sol.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 2018-03-04 10:40:19.748536 UTC -// This header was generated with sol v2.19.5 (revision ab5b417) +// Generated 2018-03-04 15:57:05.305097 UTC +// This header was generated with sol v2.19.5 (revision e8119ec) // https://github.com/ThePhD/sol2 #ifndef SOL_SINGLE_INCLUDE_HPP @@ -9473,11 +9473,11 @@ namespace stack { template static optional get(lua_State* L, int index, Handler&& handler, record& tracking) { // actually check if it's none here, otherwise - // we'll have a nil object inside an optional! - bool success = !lua_isnoneornil(L, index); + // we'll have a none object inside an optional! + bool success = !lua_isnone(L, index); if (!success) { // expected type, actual type - tracking.use(static_cast(!lua_isnone(L, index))); + tracking.use(static_cast(success)); handler(L, index, type::poly, type_of(L, index), ""); return nullopt; } diff --git a/single/sol/sol_forward.hpp b/single/sol/sol_forward.hpp index 5c1952d0..15d96ee4 100644 --- a/single/sol/sol_forward.hpp +++ b/single/sol/sol_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 2018-03-04 10:40:19.971825 UTC -// This header was generated with sol v2.19.5 (revision ab5b417) +// Generated 2018-03-04 15:57:05.533700 UTC +// This header was generated with sol v2.19.5 (revision e8119ec) // https://github.com/ThePhD/sol2 #ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP