mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
update single
This commit is contained in:
parent
e8119ec9a3
commit
2f220b6eb2
@ -61,7 +61,7 @@ author = 'ThePhD'
|
|||||||
# The short X.Y version.
|
# The short X.Y version.
|
||||||
version = '2.19'
|
version = '2.19'
|
||||||
# The full version, including alpha/beta/rc tags.
|
# 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
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
|
@ -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 2018-03-04 10:40:19.748536 UTC
|
// Generated 2018-03-04 15:57:05.305097 UTC
|
||||||
// This header was generated with sol v2.19.5 (revision ab5b417)
|
// This header was generated with sol v2.19.5 (revision e8119ec)
|
||||||
// https://github.com/ThePhD/sol2
|
// https://github.com/ThePhD/sol2
|
||||||
|
|
||||||
#ifndef SOL_SINGLE_INCLUDE_HPP
|
#ifndef SOL_SINGLE_INCLUDE_HPP
|
||||||
@ -9473,11 +9473,11 @@ namespace stack {
|
|||||||
template <typename Handler>
|
template <typename Handler>
|
||||||
static optional<T> get(lua_State* L, int index, Handler&& handler, record& tracking) {
|
static optional<T> get(lua_State* L, int index, Handler&& handler, record& tracking) {
|
||||||
// actually check if it's none here, otherwise
|
// actually check if it's none here, otherwise
|
||||||
// we'll have a nil object inside an optional!
|
// we'll have a none object inside an optional!
|
||||||
bool success = !lua_isnoneornil(L, index);
|
bool success = !lua_isnone(L, index);
|
||||||
if (!success) {
|
if (!success) {
|
||||||
// expected type, actual type
|
// 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), "");
|
handler(L, index, type::poly, type_of(L, index), "");
|
||||||
return nullopt;
|
return nullopt;
|
||||||
}
|
}
|
||||||
|
@ -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 2018-03-04 10:40:19.971825 UTC
|
// Generated 2018-03-04 15:57:05.533700 UTC
|
||||||
// This header was generated with sol v2.19.5 (revision ab5b417)
|
// This header was generated with sol v2.19.5 (revision e8119ec)
|
||||||
// https://github.com/ThePhD/sol2
|
// https://github.com/ThePhD/sol2
|
||||||
|
|
||||||
#ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP
|
#ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user