Skip to content

Commit

Permalink
specify poly as the desired type
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePhD committed Mar 2, 2018
1 parent 94a6390 commit 1e5c256
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions single/sol/sol.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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-02 02:30:38.238868 UTC
// This header was generated with sol v2.19.4 (revision 9bddce6)
// Generated 2018-03-02 15:09:13.996712 UTC
// This header was generated with sol v2.19.4 (revision 94a6390)
// https://github.com/ThePhD/sol2

#ifndef SOL_SINGLE_INCLUDE_HPP
Expand Down Expand Up @@ -7902,7 +7902,7 @@ namespace stack {
bool success = !lua_isnone(L, index);
if (!success) {
// expected type, actual type
handler(L, index, type::none, type_of(L, index), "");
handler(L, index, type::poly, type_of(L, index), "");
}
return success;
}
Expand Down
4 changes: 2 additions & 2 deletions single/sol/sol_forward.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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-02 02:30:38.527883 UTC
// This header was generated with sol v2.19.4 (revision 9bddce6)
// Generated 2018-03-02 15:09:14.750440 UTC
// This header was generated with sol v2.19.4 (revision 94a6390)
// https://github.com/ThePhD/sol2

#ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP
Expand Down
2 changes: 1 addition & 1 deletion sol/stack_check.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ namespace stack {
bool success = !lua_isnone(L, index);
if (!success) {
// expected type, actual type
handler(L, index, type::none, type_of(L, index), "");
handler(L, index, type::poly, type_of(L, index), "");
}
return success;
}
Expand Down

0 comments on commit 1e5c256

Please sign in to comment.