update single

This commit is contained in:
ThePhD 2018-03-04 10:57:28 -05:00
parent e8119ec9a3
commit 2f220b6eb2
3 changed files with 8 additions and 8 deletions

View File

@ -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.

View File

@ -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 <typename Handler>
static optional<T> 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<int>(!lua_isnone(L, index)));
tracking.use(static_cast<int>(success));
handler(L, index, type::poly, type_of(L, index), "");
return nullopt;
}

View File

@ -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